From: Iain K.Hanson (iain.hanson_at_[hidden])
Date: 2002-10-18 09:33:20
> -----Original Message-----
> [mailto:boost-bounces_at_[hidden]]On Behalf Of David Abrahams
> > How so?
> If a thread leaks a recursive mutex, it has a lock on that mutex, and
> it can "re-lock" the mutex as many times as it likes without
> blocking. So the leaking thread itself can't block forever waiting for
> the mutex.
The point of this iirc is that the thread leaked this due to an uncaught
exception which would thereby cause the that thread to die. Therefore
it can not either re-gain the mutex or release it.
AFAIK there is no way of re-creating the thread. I.e. no chance of a
phonix thread ala the phonix singleton.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk