Boost logo

Threads-Devel :

From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2006-03-03 03:52:48


Matt Hurd schrieb:
> I think having the recursive mutex as a consisent default across platforms
> will be a good thing and protect the average user, like me, from themselves.
>
You are aware of the problems this will give to condtion variables?
Waiting on a recursively locked mutex is dangerous and thus should
not be allowed. So the default of beeing recursive poses another
threat for the unwary user.

Roland


Threads-Devel list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk