pthread_cancel and EH: let's try this again

David Abrahams dave at boost-consulting.com
Sun Jul 17 19:45:41 UTC 2005


Gabriel Dos Reis <gdr at integrable-solutions.net> writes:

> David Abrahams <dave at boost-consulting.com> writes:
>
> [...]
>
> | > If it did not have that annotation then it was assumed to throw.
> | 
> | By the compiler,
>
> By the language rules. 

The language rules don't make assumptions.  Only people, and by proxy,
the programs they write, can do that.

> | > If you want to have fine grained control, you might want to consider
> | > telling std::terminate() and friends not to abort().
> | 
> | What do you have in mind?
>
> Change the default behaviour from abort() to <fill in the blank>

Is there a standard mechanism for doing that?
-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com




More information about the c++-pthreads mailing list