Boost logo

Boost :

From: Jonathan Wakely (cow_at_[hidden])
Date: 2005-08-03 06:09:05


David Abrahams wrote:

> Jonathan Wakely <cow_at_[hidden]> 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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk