id summary reporter owner description type status milestone component version severity resolution keywords cc 8094 hierarchical_mutex for lock hierarchies (to avoid deadlocks) Fredrik Orderud viboes "It would be great if boost::thread could be extended with a ""hierarchical"" mutex to facilitate lock hierarchies. Lock hierarchies is a construct that associates mutexes with software layer numbers, and enforces the application to only lock ""downwards"" in the software hierarchy [1]. This effectively translates potential deadlocks into deterministic run-time failures that be detected during testing. An example draft implementation is attached. The attachment also includes a BOOST_THREAD_LOCAL work-around for missing ""thread_local"" support that should probably be moved to more neutral ground. [1] http://www.drdobbs.com/parallel/use-lock-hierarchies-to-avoid-deadlock/204801163" Feature Requests assigned To Be Determined thread Boost 1.53.0 Optimization