From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-06-27 14:58:22
From: "Beman Dawes" <bdawes_at_[hidden]>
> Is there a reason for not having a creating constructor?
> ref(detail::threadproc proc); // calls thread::create()
> Without having put a lot of thought into it, that would seem to be an
> ease-of-use enhancement.
I, personally, prefer the explicit
thread::ref t1 = thread::create(my_function);
over the implicit
Creating a thread is a substantial side-effect, so it should be easy to
-- 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