aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/runq.h
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>2004-10-05 22:03:10 +0000
committerJulian Elischer <julian@FreeBSD.org>2004-10-05 22:03:10 +0000
commitc20c691bed1c9e151e06d276a3f053298dd0abf8 (patch)
tree7902cdf461df251dd887d3ed69ea1fc19c381a2d /sys/sys/runq.h
parentc5c3fb335ff3d368ebd2ea10344a166d44e4f28d (diff)
downloadsrc-c20c691bed1c9e151e06d276a3f053298dd0abf8.tar.gz
src-c20c691bed1c9e151e06d276a3f053298dd0abf8.zip
When preempting a thread, put it back on the HEAD of its run queue.
(Only really implemented in 4bsd) MFC after: 4 days
Notes
Notes: svn path=/head/; revision=136170
Diffstat (limited to 'sys/sys/runq.h')
-rw-r--r--sys/sys/runq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/runq.h b/sys/sys/runq.h
index a89d844b3858..93ffda4b7f85 100644
--- a/sys/sys/runq.h
+++ b/sys/sys/runq.h
@@ -62,7 +62,7 @@ struct runq {
struct rqhead rq_queues[RQ_NQS];
};
-void runq_add(struct runq *, struct kse *);
+void runq_add(struct runq *, struct kse *, int flags);
int runq_check(struct runq *);
struct kse *runq_choose(struct runq *);
void runq_init(struct runq *);