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

Class stCoRoutineEnv_t

co_routine.cpp:51–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49struct stCoEpoll_t;
50
51struct stCoRoutineEnv_t
52{
53 stCoRoutine_t *pCallStack[ 128 ];
54 int iCallStackSize;
55 stCoEpoll_t *pEpoll;
56
57 //for copy stack log lastco and nextco
58 stCoRoutine_t* pending_co;
59 stCoRoutine_t* occupy_co;
60};
61//int socket(int domain, int type, int protocol);
62void co_log_err( const char *fmt,... )
63{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected