| 1643 | } |
| 1644 | |
| 1645 | SMILE_THREAD_RETVAL threadRunnerControl(void *_data) |
| 1646 | { |
| 1647 | sThreadData *data = (sThreadData*)_data; |
| 1648 | if ((data != NULL)&&(data->obj!=NULL)) { |
| 1649 | // ensures log messages created in this thread are sent to the global logger |
| 1650 | data->obj->getLogger()->useForCurrentThread(); |
| 1651 | data->obj->controlLoopA(); |
| 1652 | // wait for all threads to be in this state.... |
| 1653 | data->obj->waitForAllThreads(-1); // thread ID is only used for display of messages |
| 1654 | // fprintf(stderr,"CR eoi=1\n"); |
| 1655 | // post EOI processing |
| 1656 | data->obj->controlLoopA(); |
| 1657 | } |
| 1658 | SMILE_THREAD_RET; |
| 1659 | } |
| 1660 | |
| 1661 | void cComponentManager::controlLoopA() |
| 1662 | { |
nothing calls this directly
no test coverage detected