Boost logo

Threads-Devel :

From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2007-10-24 08:37:34


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'd like to suggest an assertion be added to the destructors of the mutex
classes, asserting that they are unlocked. This bit of idiot proofing would
catch the cases where a scoped_lock outlives its mutex and attempts to unlock
an already destroyed mutex. It's been a while since I've committed this
error myself (but I have done it!), so maybe it has already been addressed in
recent versions of boost.thread?

- --
Frank
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHHzyS5vihyNWuA4URAt8EAKCiSPULbfaFGtrijz8HUH87fjEMTQCcCt5z
wiPbRtnzoRezzvkhxF2s9J8=
=8MFW
-----END PGP SIGNATURE-----


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