|
Boost : |
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2007-09-28 16:49:10
Anthony Williams wrote:
> However, this would only work for unlocked mutexes --- a locked
mutex would
> potentially remain locked, but with no clear owner, or it might be unlocked,
> depending on how the state was stored.
Well, leaving a mutex locked in a file does not seem a very good idea.
That would indicate that the process that has acquired the mutex has
died, so I would assume the mapped file is corrupted. If we can make
this work for locked mutexes would be good enough IMHO.
Regards,
Ion
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk