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

Function co_disable_hook_sys

co_routine.cpp:1043–1050  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1041
1042
1043void co_disable_hook_sys()
1044{
1045 stCoRoutine_t *co = GetCurrThreadCo();
1046 if( co )
1047 {
1048 co->cEnableSysHook = 0;
1049 }
1050}
1051bool co_is_enable_sys_hook()
1052{
1053 stCoRoutine_t *co = GetCurrThreadCo();

Callers

nothing calls this directly

Calls 1

GetCurrThreadCoFunction · 0.85

Tested by

no test coverage detected