PERFORCE change 55474 for review
Julian Elischer
julian at FreeBSD.org
Mon Jun 21 20:53:32 GMT 2004
http://perforce.freebsd.org/chv.cgi?CH=55474
Change 55474 by julian at julian_ref on 2004/06/21 20:52:32
make the last thread in exit also be inactive.
Affected files ...
.. //depot/projects/nsched/sys/kern/kern_thread.c#25 edit
Differences ...
==== //depot/projects/nsched/sys/kern/kern_thread.c#25 (text+ko) ====
@@ -610,7 +610,6 @@
ksegrp_unlink(kg);
}
- td->td_state = TDS_INACTIVE;
#if 0
td->td_proc = NULL;
#endif
@@ -620,6 +619,7 @@
sched_set_concurrancy(kg, 1);
}
}
+ td->td_state = TDS_INACTIVE;
PROC_UNLOCK(p);
cpu_throw(td, choosethread(SW_VOL));
panic("I'm a teapot!");
More information about the p4-projects
mailing list