Linux - per se - does not support any priority-inversion avoidance protocol (it doesn't even support yield() correctly). This is true of the SCHED_RR and SCHED_FIFO policies as well.
Priority inheritance / priority ceiling protocols (etc.) are the province of Real-Time Operating Systems (RTOSes). Several of these exist, many of them are freely downloadable. Since priority inversion avoidance must be supported in the kernel, maybe this is what you need? There are also several RT flavours of Linux - RTlinux, Timesys Linux/RT, MontaVista to name a few. These variants DO support (more or less) PrioInh or some other priority avoidance mechanism. But they are not your standard, vanilla kernel! There are often discussions regarding this on comp.realtime - I suggest you go there for deeper info. AFAIK, true64 doesn't support priority inheritance avoidance in the kernel, thoug it does have some "real-time" priorities, whatever that may mean. It is almost two years since I used an Alpha so I don't remember too clearly. > ------------------------------ > > Date: Mon, 31 Dec 2001 21:29:40 +0200 > From: Gold Edward > Subject: Priority inheritance in Linux & an offtopic question > > 1. Does Linux has a built-in priority inheritance mechanisms for > mutexes (in order to avoid priority inversion) ? > I tried to find it on LinuxThreads Frequently Asked > Questions and it's links--not with much success (but then it wasn't > an in-depth search). > > By built-in I mean a special parameter for the mutex creating > function, so that when the mutex will be used by a low > priority process/thread, it will elevate > the priority of the process to the priority of the higher > priority process also using this mutex > (i.e. like THREAD_PRIO_PROTECT on pthread_mutexattr_getprotocol(...) on > Solaris) . > > 2 Sory for asking this here- but maybe someone know about this on > Digital Unix? > > Edy > > > ------------------------------ > > -- --------------------------------------------------------------------- ______ /_____/\ /____ \\ \ Jeremy Hoyland, System Architect /_____\ \\ / Sun Israel Development Center /_____/ \/ / / Sun Microsystems Israel, Ltd. /_____/ / \//\ HaMenofim 9 ,POB 12610 \_____\//\ / / Herzliya, ISRAEL 46733 \_____/ / /\ / \_____/ \\ \ Tel: +972 9 971-1288 \_____\ \\ Fax: +972 9 971-1222 \_____\/ ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]