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

Function co_is_enable_sys_hook

co_routine.cpp:1051–1055  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1049 }
1050}
1051bool co_is_enable_sys_hook()
1052{
1053 stCoRoutine_t *co = GetCurrThreadCo();
1054 return ( co && co->cEnableSysHook );
1055}
1056
1057stCoRoutine_t *co_self()
1058{

Callers 15

socketFunction · 0.85
connectFunction · 0.85
closeFunction · 0.85
readFunction · 0.85
writeFunction · 0.85
sendtoFunction · 0.85
recvfromFunction · 0.85
sendFunction · 0.85
recvFunction · 0.85
pollFunction · 0.85
setsockoptFunction · 0.85
fcntlFunction · 0.85

Calls 1

GetCurrThreadCoFunction · 0.85

Tested by

no test coverage detected