21 May
2002
21 May
'02
9:57 p.m.
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: