MCPcopy 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}
577void co_yield( stCoRoutine_t *co )
578{
579 co_yield_env( co->env );
580}
581
582void save_stack_buffer(stCoRoutine_t* occupy_co)
583{

Callers

nothing calls this directly

Calls 1

co_yield_envFunction · 0.85

Tested by

no test coverage detected