any fairness in NTPL pthread mutexes?

Christopher Friesen
2005-10-31T17:57:34Z

I'm using NPTL.

If I have a pthread mutex currently owned by a task, and two other tasks
try to lock it, when the mutex is unlocked, are there any rules about
the order in which the waiting tasks get the mutex (ie priority, FIFO,
etc.)?

Thanks,

Chris