Da Zheng, le Mon 16 Aug 2010 06:02:17 -0400, a écrit :
> Should we still handle the special cases in mach_msg or in another system 
> call?
> 
> While sleeping in microseconds or nanoseconds, the kernel should do the loop 
> on
> the behalf of the user process. Why do we still need a wakeup queue?

You don't want to busy-loop for whole microseconds, but rather use a
hardware clock for that and get an interrupt when it's time to resume
the user process.

Samuel

Reply via email to