From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-01-17 08:00:33
----- Original Message -----
From: "terekhov" <terekhov_at_[hidden]>
Sent: Thursday, January 17, 2002 5:10 AM
Subject: [boost] Re: first sight
> --- In boost_at_y..., Tom Becker <voidampersand_at_f...> wrote:
> > >4) Allow the user to "eat" the exception.
> > >5) Make the cancellation "flag" a sticky flag, so if the
> I would much appreciate if someone would explain me
> the usefulness of N4 and N5 (other than ability
> to play tennis, I mean N4 handler and cancel.point/
If a thread has a considerable amount to do in order to shut down cleanly,
this allows it to yield control of the processor several times in a
controlled manner before finally exiting.
> Why not just say that it is *undefined* behavior?
Because we can do better and saying "undefined behavior" doesn't buy any
useful implementor flexibility in this case.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk