Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/libco
/ co_get_curr_thread_env
Function
co_get_curr_thread_env
co_routine.cpp:725–728 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
723
SetEpoll( env,ev );
724
}
725
stCoRoutineEnv_t *co_get_curr_thread_env()
726
{
727
return g_arrCoEnvPerThread[ GetPid() ];
728
}
729
730
void OnPollProcessEvent( stTimeoutItem_t * ap )
731
{
Callers
9
co_create
Function · 0.85
co_yield_ct
Function · 0.85
co_swap
Function · 0.85
GetCurrThreadCo
Function · 0.85
co_poll_inner
Function · 0.85
co_get_epoll_ct
Function · 0.85
co_cond_signal
Function · 0.85
co_cond_broadcast
Function · 0.85
co_cond_timedwait
Function · 0.85
Calls
1
GetPid
Function · 0.70
Tested by
no test coverage detected