
David Abrahams wrote:
Jonathan Wakely <cow@compsoc.man.ac.uk> writes:
Jonathan Turkanis wrote:
I think it's a pthreads requirement.
Pthreads knows nothing about exceptions, so it can't strictly require that one isn't thrown :-)
It's also a 'C' library so *in general* it can't propagate an exception properly either. I'm pretty sure that's the reason for the requirement. In principle, it might crash. Of course, some systems
Good point.
have integrated C++ exceptions with their 'C' runtime and libraries.
Yes, David Butenhof's mails on that subject have made me very jealous :)
In fact, pthreads is more likely than most libraries to have registered the appropriate 'C' cleanups, because pthreads has a whole integrated cancellation mechanism that is intended to map to C++ exceptions.
True. Thanks for the info. jon -- "Most men pursue pleasure with such breathless anticipation that they hurry past it." - Kierkegaard