Re: Yielding the processor in a kext?
Re: Yielding the processor in a kext?
- Subject: Re: Yielding the processor in a kext?
- From: Garth Cummings <email@hidden>
- Date: Thu, 6 Sep 2007 17:18:19 -0700
Hi Régis,On Sep 6, 2007, at 5:03 PM, Régis Duchesne wrote: Is there a way to make the current thread yield the processor in a kext?
I understand that by default threads executing in the kernel are pre-emptable, but sometimes I would like the current thread to explicitly give the scheduler a chance to schedule another thread, before the current thread's timeslice has elapsed. I'm looking for something similar to cond_resched() on Linux.
As you probably know, there's the I/O Kit world with its way of doing things, then there's the rest of the kernel. Which are you asking about?
What's going on in your kext when you want to yield?
Thanks, --gc ____________________________________________________________________ Sr. Software Engineer Apple Developer Technical Support
|
_______________________________________________
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