davidxu 8e88e8da05 Adjust code for userland preemptive. Userland can set a quantum in
kse_mailbox to schedule an upcall, this is useful for userland timeout
routine, for example pthread_cond_timedwait().

Also extract upcall scheduling code from kse_reassign and create
a new function called thread_switchout to include these code.

Reviewed by: julain
2003-03-19 05:49:38 +00:00
..
2003-03-13 23:07:09 +00:00
2003-03-19 00:49:40 +00:00
2003-03-10 20:24:54 +00:00
2003-02-14 12:44:48 +00:00
2003-03-08 06:58:18 +00:00
2002-12-22 05:35:03 +00:00
2002-06-29 02:00:02 +00:00
2003-01-07 20:10:04 +00:00
2003-03-10 20:24:54 +00:00
2003-02-12 07:00:59 +00:00
2002-10-02 09:09:25 +00:00
2003-03-19 00:33:38 +00:00
2003-02-20 03:26:11 +00:00
2003-03-05 08:16:29 +00:00
2003-03-05 08:16:29 +00:00
2003-03-07 22:47:32 +00:00
2003-02-20 03:26:11 +00:00