Yielding the processor in a kext?
Yielding the processor in a kext?
- Subject: Yielding the processor in a kext?
- From: RĂ©gis Duchesne <email@hidden>
- Date: Thu, 06 Sep 2007 17:03:39 -0700
Folks,
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.
Thanks,
--
hpreg
_______________________________________________
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