Boost Users :
Subject: Re: [Boost-users] [Interprocess] Deadlock when using interprocess_semaphore
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2009-03-06 11:32:57
Derek Kivi wrote:
> We are seeing a deadlock when making use of the interprocess_semaphore.
> In our case we have two running threads where the first thread is stuck
> waiting at a timed_wait() call while the second thread is stuck at a
> post() call.
> Also, a symptom we are seeing is that the lock value is set to 1 before
> both threads try to acquire the lock -- we think this is why the threads
> get stuck in the lock calls.
> We are running 1.36 at the moment. Have there been any fixes in 1.37 or
> 1.38 that might help us to avoid this problem?
I don't remember any fix but I can't be sure. Thanks for the report, but
I'm afraid this will be difficult to catch :-(
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net