Boost logo

Boost Users :

Subject: [Boost-users] Thread question.... detecting deadlocks?
From: Eric J. Holtman (eric_at_[hidden])
Date: 2011-03-08 13:21:04


I assume I will find the answer to this right after hitting
"send", but my googling so far has turned up nothing.

Is there a way to turn on deadlock detection in the thread
library somehow? I realize it would be slow, and possibly
change the behavior of my program so as to give a "false
negative", but I'd still like the option.

Sigh. (note to self: don't hold locks across a function,
unless you know exactly who and what that function will call).


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