Re: [Boost-users] How to detect thread kill?

Thank you, Chris.
On Fri, Sep 2, 2011 at 10:43 AM, Samvel Khalatyan
Thank you, Chris.
On Fri, Sep 2, 2011 at 10:36 AM, Chris Cleeland
wrote: On Fri, Sep 2, 2011 at 10:24 AM, Samvel Khalatyan
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@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (1)
-
Samvel Khalatyan