|
Boost Users : |
Subject: Re: [Boost-users] How to detect thread kill?
From: Chris Cleeland (chris.cleeland_at_[hidden])
Date: 2011-09-02 11:36:58
On Fri, Sep 2, 2011 at 10:24 AM, Samvel Khalatyan
<samvel.khalatyan_at_[hidden]> wrote:
> I guess you are right: the whole process is killed with all thread from
> Linux command line. I suppose, there is no way to kill single thread.
Not from the command line. pthread_kill() can direct a signal to a
specific thread, but only from within the process that hosts the
thread.
The "pthreads primer" and "Programming Pthreads" books have some
reasonable discussions on mixing signals and threads. Beware that
they don't mix well.
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