MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / runWorker

Method runWorker

src/common/Task.cpp:89–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89void WorkerThread::runWorker(Worker* worker)
90{
91 fb_assert(m_worker == NULL);
92 fb_assert(m_state == IDLE);
93
94 m_worker = worker;
95 m_state = RUNNING;
96 m_waitSem.release();
97}
98
99bool WorkerThread::waitForState(STATE state, int timeout)
100{

Callers 1

runSyncMethod · 0.80

Calls 1

releaseMethod · 0.45

Tested by

no test coverage detected