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

Function GetCurrCo

co_routine.cpp:867–870  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

865}
866
867stCoRoutine_t *GetCurrCo( stCoRoutineEnv_t *env )
868{
869 return env->pCallStack[ env->iCallStackSize - 1 ];
870}
871stCoRoutine_t *GetCurrThreadCo( )
872{
873 stCoRoutineEnv_t *env = co_get_curr_thread_env();

Callers 2

GetCurrThreadCoFunction · 0.85
co_poll_innerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected