Re: Thread starvation with mutex
Jamie Lokier <[email protected]> Sat, 7 Feb 2004 03:27:59 +0000
| Newsgroups | gmane.comp.lib.phil |
|---|---|
| Message-ID | <[email protected]> |
Ulrich Drepper wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > To me it reads like it is not optional, unless there is an inconsistency, > > they have changed it in the patches, corregidendums or whatever the name is. > > Where does it say is optional? > > Because scheduling policies are optional. There is no requirement to > support it, especially not together with threads. We do support SCHED_FIFO and SCHED_RR, though. Is that what the standard means by scheduling policies? For normal tasks, i.e. SCHED_OTHER, let's just say that the normal scheduling priority says the thread is starved :) -- Jamie