Boost logo

Boost Users :

Subject: Re: [Boost-users] How to detect thread kill?
From: Samvel Khalatyan (samvel.khalatyan_at_[hidden])
Date: 2011-09-02 11:46:18


Thank you, Chris.

On Fri, Sep 2, 2011 at 10:43 AM, Samvel Khalatyan <samvel_at_[hidden]> wrote:

> Thank you, Chris.
>
>
> On Fri, Sep 2, 2011 at 10:36 AM, Chris Cleeland <chris.cleeland_at_[hidden]>wrote:
>
>> 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 mailing list
>> Boost-users_at_[hidden]
>> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>>
>
>



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