MCPcopy Create free account
hub / github.com/DFHack/dfhack / Accepted

Method Accepted

library/RemoteServer.cpp:250–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248}
249
250void ServerConnection::Accepted(CActiveSocket* socket)
251{
252 std::thread{[](CActiveSocket* socket) {
253 try {
254 ServerConnection(socket).threadFn();
255 } catch (BlockedException &) {
256 }
257 }, socket}.detach();
258}
259
260void ServerConnection::threadFn()
261{

Callers

nothing calls this directly

Calls 2

ServerConnectionClass · 0.85
threadFnMethod · 0.80

Tested by

no test coverage detected