Boost logo

Boost :

Subject: [boost] boost interprocess (>1.45) robust mutexes
From: Rusk . (ddursk_at_[hidden])
Date: 2011-03-29 13:34:21


Hi,

I have noticed that in version 1.45 Ion Gaztanaga has added
detail/robust_emulation.hpp which contains code that seems to emulate
pthread_mutexattr_setrobust_np(). I understand this may be needed for
platforms that don't support robust mutexes. My version of linux does seem
to support robust mutexes, however I could not find a way to compile or in
any other way to use this flag on posix mutexes in boost 1.46.1.

Article here (
http://stackoverflow.com/questions/1179685/how-do-i-take-ownership-of-an-abandoned-boostinterprocessinterprocess-mutex/1179766#1179766)
indicates the way to do this. But now emulation for robust mutexes has been
added I wonder if I am missing something.

Thanks,
ddrum


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