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

Function FreeEpoll

co_routine.cpp:855–865  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

853}
854
855void FreeEpoll( stCoEpoll_t *ctx )
856{
857 if( ctx )
858 {
859 free( ctx->pstActiveList );
860 free( ctx->pstTimeoutList );
861 FreeTimeout( ctx->pTimeout );
862 co_epoll_res_free( ctx->result );
863 }
864 free( ctx );
865}
866
867stCoRoutine_t *GetCurrCo( stCoRoutineEnv_t *env )
868{

Callers

nothing calls this directly

Calls 2

FreeTimeoutFunction · 0.85
co_epoll_res_freeFunction · 0.85

Tested by

no test coverage detected