
16 Feb
2004
16 Feb
'04
1:49 p.m.
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.