Re: Threading in IOKit (was: Protection Questions)
Re: Threading in IOKit (was: Protection Questions)
- Subject: Re: Threading in IOKit (was: Protection Questions)
- From: Sean McBride <email@hidden>
- Date: Wed, 5 Jun 2002 20:00:24 -0400
Godfrey van der Linden (email@hidden) 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 | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.