$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] How to detect thread kill?
From: Chris Cleeland (chris.cleeland_at_[hidden])
Date: 2011-08-31 12:52:38
On Wed, Aug 31, 2011 at 11:03 AM, Samvel Khalatyan
<samvel.khalatyan_at_[hidden]> wrote:
> There is a number of standard ways to interrupt thread from within an
> application with library tools.
Not in a portable fashion.
> However, is there a way to detect if one of the running threads was killed
> with system tools and thread is not available any more?
I'm not aware of any consistent way of killing a thread with system tools.
Since there is no portable way to do what you're asking, I can't
imagine that there's a portable way to detect the effect, either.