From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2001-08-03 09:16:11
> I've considered including a thread::exit() routine,
> but don't expect one in the first release.
hmm.. why not static void thread::exit( ..<return value>.. )
that would simply throw some termination exception which
you would catch in your internal bootstrap routine?
that exception could carry the reason (normal exit
or cancellation) and return value to be made available
for join (in the case of thread cancellation, posix join
returns PTHREAD_CANCELED pointer).
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk