MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / join

Method join

UnitTests/sources/SocketTest.cpp:200–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198
199 template<typename SocketType>
200 bool join(SocketType& socket) {
201 if (socket.parallel)
202 return socket.join();
203 bool joined(false);
204 while (!(joined=socket.join()) && TaskEvent.wait(20000)) {
205 Exception ex;
206 giveHandle(ex);
207 CHECK(!ex);
208 }
209 return joined;
210 }
211
212private:
213 void requestHandle() {

Callers

nothing calls this directly

Calls 2

joinMethod · 0.45
waitMethod · 0.45

Tested by

no test coverage detected