Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-06-22 06:29:11


From: <williamkempf_at_[hidden]>

> > It can be nice to first set up bunch of threads and then start them.
>
> In general this isn't a common need. Why must a group of threads be
> started at the same (or nearly same) time? If they are properly
> parallel processes they shouldn't have a need for this. If you
> really have a need for this it would be nearly as easy to explicitly
> code for it using a condition variable instead of having this
> functionality built into the library.

_If_ a thread is noncopyable and cannot be two-phase constructed, how can
you have a container, or a C-style array, of threads? You may not want to
use the heap.

--
Peter Dimov
Multi Media Ltd.

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