Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/libco
/ co_yield
Function
co_yield
co_routine.cpp:577–580 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
575
co_yield_env( co_get_curr_thread_env() );
576
}
577
void co_yield( stCoRoutine_t *co )
578
{
579
co_yield_env( co->env );
580
}
581
582
void save_stack_buffer(stCoRoutine_t* occupy_co)
583
{
Callers
nothing calls this directly
Calls
1
co_yield_env
Function · 0.85
Tested by
no test coverage detected