Subj : Re: Is there a deadlock or race condition here? To : comp.programming.threads From : lindahlb Date : Thu Apr 14 2005 02:59 pm I explained quite clearly that produce and consume are semaphores and clearly describe what the wait and set methods do (they are SysV semaphores to be more specific - MAXIMUM being the SysV standard maximum value - I don't have the docs on hand). .