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

Method isCurrent

src/common/ThreadStart.cpp:236–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236bool Thread::isCurrent() const noexcept
237{
238 return isValid() && pthread_equal(m_handle, pthread_self());
239}
240
241void Thread::sleep(unsigned milliseconds)
242{

Callers 2

disconnectFunction · 0.45
cleanup_portFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected