Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Codesire-Deng/co_context
/ main
Function
main
example/echo_server_MT.cpp:28–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
26
}
27
28
int main() {
29
balancer.co_spawn(server(1234));
30
balancer.start();
31
for (auto &ctx : worker) {
32
ctx.start();
33
}
34
balancer.join(); // never stop
35
return 0;
36
}
Callers
nothing calls this directly
Calls
4
start
Method · 0.80
join
Method · 0.80
server
Function · 0.70
co_spawn
Method · 0.45
Tested by
no test coverage detected