Subject: Re: [boost] [Interprocess::Semaphore] Deadlock on more producers - one consumer problem
From: James Mansion (james_at_[hidden])
Date: 2009-06-17 16:26:05
Ion Gaztañaga wrote:
> A semaphore post only increases a waiting thread if count was 0.
> That's the behaviour of a semaphore.
Not of Dijkstra's design it isn't. Conceptually a waiting consumer is
immediately given the token and
woken up, and further tokens will wake more consumers whether they are
Looks like a bug to me.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk