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

Function routine_func

example_thread.cpp:34–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 return 0;
33}
34static void *routine_func( void * )
35{
36 stCoEpoll_t * ev = co_get_epoll_ct(); //ct = current thread
37 co_eventloop( ev,loop,0 );
38 return 0;
39}
40int main(int argc,char *argv[])
41{
42 int cnt = atoi( argv[1] );

Callers

nothing calls this directly

Calls 2

co_get_epoll_ctFunction · 0.85
co_eventloopFunction · 0.85

Tested by

no test coverage detected