[c++-pthreads] Re: pthread_cancel and EH: let's try this again
George Shimanovich
gshiman at commvault.com
Tue Jul 19 23:06:06 UTC 2005
> Wil Evers wrote:
>
> Mapping cancellation to an (ordinary C++) exception has been proven to
> work in practice. The primary source of real headaches is the
discussion
> itself.
That is not the case in Linux pthread implementation, as I replied to
Mark Mitchel (see my earlier email). Jason indicated in #3 that abort()
is called cancellation exception is rethrown - and that is consistent
with my experience. BTW, even if this discussion did not converge, I
enjoyed technical aspect of it immensely. Thanks to all.
George Shimanovich
CommVault Systems, Inc.
-----Original Message-----
From: Mark Mitchell [mailto:mark at codesourcery.com]
Sent: Tuesday, July 19, 2005 6:55 PM
To: Peter Dimov
Cc: c++-pthreads at codesourcery.com; Jason Merrill
Subject: Re: [c++-pthreads] Re: pthread_cancel and EH: let's try this
again
Peter Dimov wrote:
> Wil Evers wrote:
>
>> As the discussion on this list illustrates, mapping cancellation
>> requests to exceptions is causing real headaches.
>
>
> Mapping cancellation to an (ordinary C++) exception has been proven to
> work in practice. The primary source of real headaches is the
discussion
> itself.
Personally, I think everyone's stated their opinions well enough; it
doesn't seem like we're getting anywhere.
I'd like to hear from Jason Merrill, as he was the person brave enough
to restart this discussion, and as he's probably the person most
motivated to actually do something...
Jason, have any of us persuaded you of anything, or are you just
wallowing in your own despair?
--
Mark Mitchell
CodeSourcery, LLC
mark at codesourcery.com
(916) 791-8304
More information about the c++-pthreads
mailing list