| 1606 | } |
| 1607 | |
| 1608 | void cComponentManager::waitForAllThreads(int threadID) |
| 1609 | { |
| 1610 | smileMutexLock(waitEndMtx); |
| 1611 | SMILE_DBG(4,"thread controller entered waiting state.. %i threads of %i are now waiting\n",threadID,waitEndCnt,nThreads); |
| 1612 | |
| 1613 | if (waitEndCnt < nThreads) { |
| 1614 | smileCondWaitWMtx(waitEndCond,waitEndMtx); |
| 1615 | } |
| 1616 | EOI = 1; |
| 1617 | nActive = nThreads; //?? |
| 1618 | //smileCondBroadcast(waitEndCond); |
| 1619 | endOfLoop=0; |
| 1620 | waitEndCnt = 0; |
| 1621 | controllerPresent = 0; |
| 1622 | smileMutexUnlock(waitEndMtx); |
| 1623 | } |
| 1624 | |
| 1625 | void cComponentManager::waitForController(int threadID, int stage) |
| 1626 | { |
no test coverage detected