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

Function co_yield_ct

co_routine.cpp:572–576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

570}
571
572void co_yield_ct()
573{
574
575 co_yield_env( co_get_curr_thread_env() );
576}
577void co_yield( stCoRoutine_t *co )
578{
579 co_yield_env( co->env );

Callers 2

readwrite_routineFunction · 0.85
co_cond_timedwaitFunction · 0.85

Calls 2

co_yield_envFunction · 0.85
co_get_curr_thread_envFunction · 0.85

Tested by

no test coverage detected