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

Method wait

src/remote/server/os/win32/srvr_w32.cpp:151–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149 }
150
151 static bool wait()
152 {
153 while (m_count.value() > 0)
154 {
155 if (!m_semaphore.tryEnter(10))
156 break;
157 }
158
159 return (m_count.value() == 0);
160 }
161
162private:
163 static AtomicCounter m_count;

Callers

nothing calls this directly

Calls 2

valueMethod · 0.45
tryEnterMethod · 0.45

Tested by

no test coverage detected