Interprocess condition and process crashes
I'm using Boost 1.39 on WindowsXP and I noticed that if a process crashes
while waiting on an interprocess condition variable, the signaling process
blocks forever in subsequent calls to notify_all().
It looks to me like boost is not using the native facilities, but some
emulation, so is this scenario not supported by the emulation?
The code is very simple:
Process A:
while (1) {
{
scoped_lock
Gabriel Burca escribió:
I'm using Boost 1.39 on WindowsXP and I noticed that if a process crashes while waiting on an interprocess condition variable, the signaling process blocks forever in subsequent calls to notify_all().
It looks to me like boost is not using the native facilities, but some emulation, so is this scenario not supported by the emulation?
Yes, it's a limitation of the emulation. Unblocking is not also guaranteed by native facilities. Best, Ion
participants (2)
-
Gabriel Burca
-
Ion Gaztañaga