Boost logo

Boost Users :

Subject: Re: [Boost-users] Thread question.... detecting deadlocks?
From: Anthony Williams (anthony.ajw_at_[hidden])
Date: 2011-03-09 03:41:31


"Eric J. Holtman" <eric_at_[hidden]> writes:

> Is there a way to turn on deadlock detection in the thread
> library somehow?

There is no deadlock detection provided as part of boost.thread.

You can use external tools such as Intel Thread Checker to detect
deadlocks in code using Boost.Thread. Alternatively, deadlock detection
is provided as part of my commercial implementation of the C++0x thread
library (see sig).

Anthony

-- 
Author of C++ Concurrency in Action     http://www.stdthread.co.uk/book/
just::thread C++0x thread library             http://www.stdthread.co.uk
Just Software Solutions Ltd       http://www.justsoftwaresolutions.co.uk
15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net