[c++-pthreads] Re: pthread_cancel and EH: let's try this again

Mark Mitchell mark at codesourcery.com
Fri Jul 15 21:35:51 UTC 2005


George Shimanovich wrote:

> According to my colleges and mine experience using pthread in GNU/Linux
> entire program crashes when thread is cancelled due to abort() or
> cancelled thread hangs in system space. That is collaborated by this
> quote from Jason:
> 	>And the current status quo in GCC: 
> 	>(3) #1, except that the destructor for the exception calls
> abort())

I believe that happens only if the catch handler does not rethrow the 
exception.

-- 
Mark Mitchell
CodeSourcery, LLC
mark at codesourcery.com
(916) 791-8304



More information about the c++-pthreads mailing list