20 May
2020
20 May
'20
12:09 p.m.
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.