Boost logo

Boost Users :

From: Alexander Terekhov (yg-boost-users_at_[hidden])
Date: 2002-05-21 16:57:15


giltayar wrote:
>
> 1. On the multi-join/default constructor issue:
>
> Hmmm... hadn't noticed the default ctor. The multi-join issue is a
> valid one. How I would solve it is for the dtor to "know" whether a
> join was called (using a private member), i.e. whether thread is
> alive or not, and thus know whether to join() it.

Nah, *detach()* it -- if NOT already joined:


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net