|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-02-12 12:17:51
Peter Dimov wrote:
[...]
> The main danger I see is not when join() throws an "unexpected"
> exception ...
Actually, join() and result() should be separate operations. First, join()
can probably fail with an exception, and second, in a thread group we'd like
to be able to first join all threads and then examine the results one by
one. result() can still automatically join() if necessary, but a separate
join() needs to be present.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk