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

Function Return

engine/dlib/src/dlib/connection_pool.cpp:585–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

583 }
584
585 void Return(HPool pool, HConnection connection)
586 {
587 DM_MUTEX_SCOPED_LOCK(pool->m_Mutex);
588
589 Connection* c = GetConnection(pool, connection);
590 assert(c->m_State == STATE_INUSE);
591 c->m_State = STATE_CONNECTED;
592 }
593
594 void Close(HPool pool, HConnection connection)
595 {

Callers 2

~ResponseMethod · 0.85
TEST_FFunction · 0.85

Calls 2

GetConnectionFunction · 0.85
assertFunction · 0.50

Tested by 1

TEST_FFunction · 0.68