Re: [c++-pthreads] Re: Does the cancelation exception have a name?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [c++-pthreads] Re: Does the cancelation exception have a name?
- To: Peter Dimov <pdimov@xxxxxxxxx>
- Subject: Re: [c++-pthreads] Re: Does the cancelation exception have a name?
- From: Dave Butenhof <david.butenhof@xxxxxx>
- Date: Tue, 07 Nov 2006 06:27:42 -0500
Peter Dimov wrote:
This time we have a deadline to meet. My current understanding is that
the placeholder section above has already been voted into the working
paper by an official ISO formal motion, and the intent of the
committee is that in 'C++0X', X should be decimal. :-) In practice
this means that the threading API proposal is already late by one
meeting.
This line of cynicism has already been carried too far, but if I HAD
been inclined to pointlessly continue it, I might have been tempted to
point out that one could see a "down side" when "they're determined to
have something in the next 3 years and the proposal is already late by
one meeting" is "the good news". ;-)
But really, although the "endless story" aspect of all this is amusing I
really don't intend to be seriously cynical. I'm glad people have been
thinking about it, I think there HAS been an increasing understanding
and maturity on the subject, there are some proposals on the table that
have some merit, and there's a pretty decent chance there'll be
something in the standard that's meaningful. And that's all good.
Best of all, a C++ cancel/exit model based on exceptions will put
pressure on implementors for a common exception engine (as in Tru64 UNIX
;-) ) for C and C++ because NON-integrated cancel will be a mess for
everyone. But that pressure WILL meet with substantial resistance, and
there's going to be a trainwreck as people shake out their brand new
cool C++ code and find it doesn't work with C code any more than when
C++ didn't know about threads at all. C++ can't fix that... but most C++
implementors are also C implementors and CAN. Will they?
begin:vcard
fn:Dave Butenhof
n:Butenhof;Dave
org:Hewlett-Packard Company;Manageability Systems Lab
adr;dom:110 Spit Brook Rd;;ZKO2-3/Q18;Nashua;NH;03062
email;internet:david.butenhof@xxxxxx
title:HP Utility Pricing software agent Technical Lead
tel;work:603.884.7460
note;quoted-printable:POSIX thread standards consultant=0D=0A=
Author of "Programming With POSIX Threads" (Addison-Wesley)=0D=0A=
Father to Amy (13) and Alyssa (9)
x-mozilla-html:TRUE
version:2.1
end:vcard