
15 Sep
2005
15 Sep
'05
7:41 a.m.
Matt Hurd schrieb:
std::cout << "Do I even get here?\n";
I don't get there.
Uups. Now I can see. Sorry, I just was nor careful enough about the startup synchronization. It just happend to work for me, and I simply was ensuring this fact by stopping there with the debugger. However the remedy should be easy: Just replace: ++global_number_of_threads; cond.notify_one(); by: ++global_number_of_threads; cond.notify_all(); Sorry, my fault. Roland