11 Jan
2007
11 Jan
'07
11:28 a.m.
Manuel Jung wrote:
Hi,
I have a strange problem. The destructor of a class calls join_all(). But it seems that he hangs there. Even though some other code behind the join_all() is executed before it finishs! Lets get concret:
seal::~seal() { ThgPrgs.join_all(); cout<<"Crabd quits, goodbye"<
Could you possibly post a small (complete) example that demonstrates the behaviour? I am not able to guess where to problem might be from looking at the destructor only. Btw.: join_all doesn't own the no-throw property. So your design possibly should we reworked anyways. Roland