Boost logo

Boost :

From: williamkempf_at_[hidden]
Date: 2001-06-22 09:36:20


--- In boost_at_y..., "Peter Dimov" <pdimov_at_m...> wrote:
> From: <williamkempf_at_h...>
>
> > > 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.

The original semantics *were* copyable, making this a non-issue.

Bill Kempf


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