bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sleep in microsecond or nanosecond


From: Samuel Thibault
Subject: Re: sleep in microsecond or nanosecond
Date: Mon, 16 Aug 2010 17:08:11 +0200
User-agent: Mutt/1.5.12-2006-07-14

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

[Prev in Thread] Current Thread [Next in Thread]