MCPcopy Create free account
hub / github.com/defold/defold / GetReuseCount

Function GetReuseCount

engine/dlib/src/dlib/connection_pool.cpp:621–628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

619 }
620
621 uint32_t GetReuseCount(HPool pool, HConnection connection)
622 {
623 DM_MUTEX_SCOPED_LOCK(pool->m_Mutex);
624
625 Connection* c = GetConnection(pool, connection);
626 assert(c->m_State == STATE_INUSE);
627 return c->m_ReuseCount;
628 }
629
630 uint32_t Shutdown(HPool pool, dmSocket::ShutdownType how)
631 {

Callers 1

DoRequestFunction · 0.85

Calls 2

GetConnectionFunction · 0.85
assertFunction · 0.50

Tested by

no test coverage detected