[plt-scheme] FIFO semaphore

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sat Oct 21 03:19:39 EDT 2006

At Fri, 20 Oct 2006 23:31:23 -0600, "Chongkai Zhu" wrote:
> Is PLT semaphore FIFO semaphore? As I tested (on a Windows machine), it is. 
> But the document doesn't mention it. So, can I rely on it?

No. Semaphores are fair, and fairness is implemented through an
approximation of FIFO behavior, but MzScheme will take shortcuts on
occasion to avoid scheduling work.


Posted on the users mailing list.