pthread_cancel and EH: let's try this again
Alexander Terekhov
terekhov at web.de
Mon Jul 18 09:45:43 UTC 2005
Nathan Myers wrote:
[...]
> Alexander, please pay attention. If, per Wil's proposal, any response
> to cancellation whatsoever is disabled by default, then absent specific
> action by the user *all* code will execute exactly as if no
> cancellation happened. If users add a degree of responsiveness to
> certain regions of code
Don't know what you mean with "users", but "libraries" are not supposed
to enable cancellation (apart from hypothetical stuff reasserting cancel
request on cancel unwinding path to avoid lengthy and unneeded parts of
compound "cleanup" operations followed by catch-and-swallow that I've
showed), only disable it. The rest of Wil's proposal boils down to rather
obvios use of http://www.google.com/search?q=cancel_off_guard and that's
nothing new and/or particularly exiting.
The discussion here has been going in circles for years, unfortunately.
regards,
alexander.
More information about the c++-pthreads
mailing list