summaryrefslogtreecommitdiffstats
path: root/sys/sys/sched.h
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2004-09-10 21:04:38 +0000
committerjulian <julian@FreeBSD.org>2004-09-10 21:04:38 +0000
commit9993c65718d2dabc9ad6b0381cb3bec1afcbb3db (patch)
tree552ced22e442075d306e4fedf42503cc58d70e99 /sys/sys/sched.h
parent76cce8b362d77cd72af8e5deae525359f32deebe (diff)
downloadFreeBSD-src-9993c65718d2dabc9ad6b0381cb3bec1afcbb3db.zip
FreeBSD-src-9993c65718d2dabc9ad6b0381cb3bec1afcbb3db.tar.gz
Add some code to allow threads to nominat a sibling to run if theyu are going to sleep.
MFC after: 1 week
Diffstat (limited to 'sys/sys/sched.h')
-rw-r--r--sys/sys/sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/sched.h b/sys/sys/sched.h
index 472af52..6912390 100644
--- a/sys/sys/sched.h
+++ b/sys/sys/sched.h
@@ -66,7 +66,7 @@ void sched_fork_thread(struct thread *td, struct thread *child);
fixpt_t sched_pctcpu(struct thread *td);
void sched_prio(struct thread *td, u_char prio);
void sched_sleep(struct thread *td);
-void sched_switch(struct thread *td, struct thread *newtd);
+void sched_switch(struct thread *td, struct thread *newtd, int flags);
void sched_userret(struct thread *td);
void sched_wakeup(struct thread *td);
OpenPOWER on IntegriCloud