...which however brings the problem that we can no longer block the destructor of WorkForce by simply joining on all joinable threads (there is a race between testing joinable() and invoking join(), which does not tolerate non-joinable state. There is a second problem: we need to detect and clean-up terminated workers, even for just finding out how many workers are still active. Fortunately doing so also solves the waiting problem in the destructor |
||
|---|---|---|
| .. | ||
| draw | ||
| DIR_INFO | ||
| empty.html | ||
| InterfaceConcept_Varga.mm | ||
| renderengine.html | ||
| thinkPad.ichthyo.mm | ||
| uml | ||
| workflow.mm | ||