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

Method decWorkers

src/jrd/WorkerAttachment.cpp:194–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194void WorkerAttachment::decWorkers()
195{
196 fb_assert(Config::getServerMode() == MODE_SUPER);
197
198 MutexLockGuard guard(m_mutex, FB_FUNCTION);
199 if (--m_cntWorkers == 0)
200 m_noWorkers.notifyAll();
201}
202
203void WorkerAttachment::waitForWorkers()
204{

Callers 1

finiMethod · 0.80

Calls 1

notifyAllMethod · 0.80

Tested by

no test coverage detected