Fwd: Sleeping in nanos
Fwd: Sleeping in nanos
- Subject: Fwd: Sleeping in nanos
- From: Greg <email@hidden>
- Date: Fri, 2 Feb 2007 22:29:06 -0500
Oh, I should mention that I'm trying to do this in user-space, not the kernel.
- Greg Begin forwarded message: Date: February 2, 2007 10:28:08 PM EST Subject: Sleeping in nanos
Is there a way on OS X to sleep for 1000 nanoseconds without causing 65% CPU usage? I have tried nanosleep and clock_sleep (using TIME_RELATIVE and a REALTIME_CLOCK), and both seem to simply cause a busy loop.
Thanks!
- Greg
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden