[c++-pthreads] Re: cancellation points report failure
Fergus Henderson
fjh at cs.mu.oz.au
Thu Jan 8 04:01:12 UTC 2004
On 07-Jan-2004, Alexander Terekhov <boo at terekhov.de> wrote:
> Nathan Myers wrote:
> >
> > On Tue, Jan 06, 2004 at 06:58:57AM -0500, Dave Butenhof wrote:
> > > Personally, I would be happy to accept a C++ binding with no way to
> > > enable asynchronous cancelability, and to avoid defining any C++ code
> > > as "async cancel-safe".
> >
> > I think we're all agreed on that. This list is about semantics of
> > a C++ binding for synchronous cancellation.
>
> Objection. To begin with, asynchronous cancelability IS part of
> pthreads.
Asynchronous cancelability only works if you can be sure that there
are no implicit calls to async-cancel-unsafe functions going on.
That's not too hard to ensure in C, but it's a lot more difficult
in C++.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
More information about the c++-pthreads
mailing list