Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2003-10-21 03:51:11


"E. Gladyshev" wrote:
[...]
> BTW: What happens with POSIX mutexes when the owner is terminated?

The mutex, associated memory, the entire owner's process and all other
processes that might have access to that mutex (and associated data in
memory) are considered to become "toasted". In POSIX, a thread thread
can't terminate "abnormally" not causing process termination; so the
entire owner process is basically gone. The rest (killing all victims,
cleanups/rollbacks and takeovers) is usually handled by some fully
isolated "recovery system".

regards,
alexander.


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