diff options
author | jeff <jeff@FreeBSD.org> | 2008-03-10 01:30:35 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2008-03-10 01:30:35 +0000 |
commit | 171a608f926e73926af2fc965ef9c62416b10fb3 (patch) | |
tree | 136f65ae8dbd50fd9969fc33bc4df882f0c53d26 /sys/sys/sched.h | |
parent | 30b72f7d932ce911a9f7ee248331ef2dcc6e01a6 (diff) | |
download | FreeBSD-src-171a608f926e73926af2fc965ef9c62416b10fb3.zip FreeBSD-src-171a608f926e73926af2fc965ef9c62416b10fb3.tar.gz |
- Add a sched_preempt() routine to be called by md code after IPI_PREEMPT is
delivered.
- Add a simple implementation to 4bsd.
Diffstat (limited to 'sys/sys/sched.h')
-rw-r--r-- | sys/sys/sched.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/sched.h b/sys/sys/sched.h index 91be1df..57eebd9 100644 --- a/sys/sys/sched.h +++ b/sys/sys/sched.h @@ -108,6 +108,7 @@ void sched_unlend_user_prio(struct thread *td, u_char pri); void sched_user_prio(struct thread *td, u_char prio); void sched_userret(struct thread *td); void sched_wakeup(struct thread *td); +void sched_preempt(struct thread *td); /* * Threads are moved on and off of run queues |