MCPcopy Create free account
hub / github.com/audeering/opensmile / threadRunnerControl

Function threadRunnerControl

src/core/componentManager.cpp:1645–1659  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1643}
1644
1645SMILE_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
1661void cComponentManager::controlLoopA()
1662{

Callers

nothing calls this directly

Calls 4

useForCurrentThreadMethod · 0.80
controlLoopAMethod · 0.80
waitForAllThreadsMethod · 0.80
getLoggerMethod · 0.45

Tested by

no test coverage detected