Boost logo

Boost :

From: Phil Endecott (spam_from_boost_dev_at_[hidden])
Date: 2020-05-20 12:09:01


Gavin Lambert wrote:
> I'm not sure if Boost.Interprocess makes use of them (I assume not) but
> on Windows the standard kernel interprocess mutex will report an
> "abandoned" mutex if something tries to acquire a mutex that was owned
> by a terminated process/thread, regardless of how it was terminated.
>
> This is a successful acquisition that indicates that the protected state
> may not be consistent.

OK, this is what POSIX "robust" mutexes do. It's useful to know that
they are portable.

Regards, Phil.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk