MCPcopy Create free account
hub / github.com/acl-dev/acl / run

Method run

lib_fiber/samples-gui/EchoServer/FiberServer.cpp:15–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13}
14
15void CFiberServer::run(void)
16{
17 while (true) {
18 SOCKET s = accept(m_sock, NULL, NULL);
19 if (s == INVALID_SOCKET) {
20 break;
21 }
22
23 acl::fiber* fb = new CFiberClient(s);
24 fb->start();
25 }
26
27 delete this;
28}

Callers

nothing calls this directly

Calls 2

acceptFunction · 0.50
startMethod · 0.45

Tested by

no test coverage detected