Boost logo

Threads-Devel :

From: Josh Napoli (jnapoli_at_[hidden])
Date: 2007-01-28 12:29:40


Has there been any work on a checked_mutex class? I have a prototype
mutex class that tracks the order in which locks were acquired. If a
lock would violate the partial ordering defined by the historical lock
acquisitions, then it throws an exception rather than risking deadlock.
Does this sound correct and useful?

 

-Joshua Napoli



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