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

Function UnpublishInProgressSocket

engine/dlib/src/dlib/connection_pool.cpp:265–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263 }
264
265 static void UnpublishInProgressSocket(HPool pool, Connection* connection, dmSocket::Socket socket)
266 {
267 DM_MUTEX_SCOPED_LOCK(pool->m_Mutex);
268 if (connection->m_Socket == socket)
269 {
270 connection->m_Socket = dmSocket::INVALID_SOCKET_HANDLE;
271 }
272 }
273
274 static void CloseInProgressSocket(HPool pool, Connection* connection, dmSocket::Socket* socket)
275 {

Callers 1

CloseInProgressSocketFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected