From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-02-16 08:49:18
Sean Kelly wrote:
> The user could delete the object passed to boost::thread with the
> existing design and there would be no provision for calling join.
I think that you are wrong. A boost::thread makes a copy of its function
object. The user can't delete it.
You can explicitly force a boost::thread to not make a copy by using ref()
and then delete the object, of course, if you like.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk