MCPcopy Create free account
hub / github.com/Tencent/libco / task_t

Class task_t

example_echosvr.cpp:45–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43
44using namespace std;
45struct task_t
46{
47 stCoRoutine_t *co;
48 int fd;
49};
50
51static stack<task_t*> g_readwrite;
52static int g_listen_fd = -1;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected