Linux synchronization with FIFO waiting queue

Posted by EpsilonVector on Stack Overflow See other posts from Stack Overflow or by EpsilonVector
Published on 2010-06-16T00:58:29Z Indexed on 2010/06/16 1:02 UTC
Read the original article Hit count: 297

Are there locks in Linux where the waiting queue is FIFO? This seems like such an obvious thing, and yet I just discovered that pthread mutexes aren't FIFO, and semaphores apparently aren't FIFO either (I'm working on kernel 2.4 (homework))...

Does Linux have a lock with FIFO waiting queue, or is there an easy way to make one with existing mechanisms?

© Stack Overflow or respective owner

Related posts about linux

Related posts about synchronization