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

Method setState

src/remote/server/server.cpp:7290–7298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7288}
7289
7290void Worker::setState(const bool active)
7291{
7292 if (m_active == active)
7293 return;
7294
7295 MutexLockGuard guard(m_mutex, FB_FUNCTION);
7296 remove();
7297 insert(active);
7298}
7299
7300bool Worker::wakeUp()
7301{

Callers 2

loopThreadFunction · 0.45
wakeUpMethod · 0.45

Calls 2

removeFunction · 0.85
insertFunction · 0.50

Tested by

no test coverage detected