
6 Mar
2009
6 Mar
'09
4:32 p.m.
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 :-(
Thanks, Derek
Regards, Ion