Re: Yielding the processor in a kext?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com User-agent: Icedove 1.5.0.9 (X11/20061220) 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Régis Duchesne