$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Thread question.... detecting deadlocks?
From: Eric J. Holtman (eric_at_[hidden])
Date: 2011-03-08 13:35:15
On 3/8/2011 12:29 PM, Igor R wrote:
>
> This is not really the aswer to your question, but if you work with
> MSVC, in case of deadlock you can just push "pause" button and see
> what happens to every thread.
Yeah, that's how I found this latest programming screwup
on my part, attaching the debugger after the application
went silent.
I was just wondering if there was some quick #define to
enable a debugging mode where I'd get an exception or
something I could log when that happened, as opposed to
the program just locking up.