Re: Threading in IOKit (was: Protection Questions)
Godfrey van der Linden (gvdl@apple.com) wrote:
Also you have to watch out for various scheduling priorities.
Broadly we have
1> Primary Interrupts
2> Real Time Threads (user land only)
3> Timer threads (Thread Call threads, kernel only)
4> Kernel threads (IOWorkLoop aka 'secondary interrupts')
5> Window Manager Threads
6> The rest of user land threads.
Sometimes the priorites seems a bit screwed up
Indeed. It seems the only way a driver can have as high priority as a userland app is to use primary interrupts, which are strongly discouraged. _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Sean McBride