Re: putting userspace processes to sleep & Unresolved symbol :_wait_queue_alloc
Re: putting userspace processes to sleep & Unresolved symbol :_wait_queue_alloc
- Subject: Re: putting userspace processes to sleep & Unresolved symbol :_wait_queue_alloc
- From: Quinn <email@hidden>
- Date: Wed, 25 Jul 2007 09:47:06 +0100
At 10:31 +0200 25/7/07, Jernej Azarija wrote:
In the kernel extension I'm currently writing, the kernel shall put
the current process to sleep until a condition is met. I'm trying to
achieve this using the wait_queue_* functions [...]
Alas, you're in the weeds. You should use msleep and wakeup. If you
enter "msleep" into search box on <http://developer.apple.com>,
you'll find documentation and sample code.
The above assumes that you're operating at the BSD level of the
kernel. If you're writing an I/O Kit driver, you have other, more
appropriate alternatives.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
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