Re: Yielding the processor in a kext?
Re: Yielding the processor in a kext?
- Subject: Re: Yielding the processor in a kext?
- From: Régis Duchesne <email@hidden>
- Date: Fri, 07 Sep 2007 15:29:06 -0700
Jonas wrote:
> You could have a look at to which kernel api sched_yield() is connected.
Good idea.
Amanda wrote:
> From this description, I have to ask: why is this all in the kernel?
> This seems like the type of thing that's much better done in user space.
Yes, it seems. I cannot give you more details, but it has to be done in
the kernel. But it does not matter: if I knew how to yield in userland,
I could follow the syscall code, and discover how to yield from a kext.
But I think that was pretty much answered above by Jonas.
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