From abb4420bbe55ce526dd8d7eb8ac3e1b33969d3fa Mon Sep 17 00:00:00 2001 From: davidxu Date: Sun, 15 Jun 2003 00:31:24 +0000 Subject: Rename P_THREADED to P_SA. P_SA means a process is using scheduler activations. --- sys/kern/sched_ule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern/sched_ule.c') diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index 72bf3d3..bb34516 100644 --- a/sys/kern/sched_ule.c +++ b/sys/kern/sched_ule.c @@ -771,7 +771,7 @@ sched_switchout(struct thread *td) * We will not be on the run queue. So we must be * sleeping or similar. */ - if (td->td_proc->p_flag & P_THREADED) + if (td->td_proc->p_flag & P_SA) kse_reassign(ke); } -- cgit v1.1