MCPcopy Create free account
hub / github.com/cuberite/cuberite / HasEmptySlot

Method HasEmptySlot

src/OSSupport/SocketThreads.h:109–109  ·  view source on GitHub ↗

All these methods assume parent's m_CS is locked

Source from the content-addressed store, hash-verified

107
108 // All these methods assume parent's m_CS is locked
109 bool HasEmptySlot(void) const {return m_NumSlots < MAX_SLOTS; }
110 bool IsEmpty (void) const {return m_NumSlots == 0; }
111
112 void AddClient (const cSocket & a_Socket, cCallback * a_Client); // Takes ownership of the socket

Callers 1

AddClientMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected