pthread_cancel and EH: let's try this again
David Abrahams
dave at boost-consulting.com
Mon Jul 11 22:34:13 UTC 2005
Nathan Sidwell <nathan at codesourcery.com> writes:
> IMHO #1 is better, for it also allows us to say 'thread cancellation is
> *exactly* like exception handling'.
It's more than that. #2 changes the exception handling model.
Simplicity of definition and programming model is crucial. People
already have enough trouble coming to grips with exception safety.
Introducing #2 complicates the EH model, so I oppose it on those
grounds also.
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
More information about the c++-pthreads
mailing list