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

Method waitFor

src/common/Task.cpp:158–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158bool Worker::waitFor(int timeout)
159{
160 if (m_state == IDLE)
161 return true;
162
163 if (m_thread == NULL)
164 return false;
165
166 m_thread->waitForState(WorkerThread::IDLE, timeout);
167 return (m_state == IDLE);
168}
169
170
171/// class Coordinator

Callers 3

WinMainFunction · 0.45
~CoordinatorMethod · 0.45
getProcessExitingMethod · 0.45

Calls 1

waitForStateMethod · 0.80

Tested by

no test coverage detected