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

Function co_enable_hook_sys

co_hook_sys_call.cpp:958–965  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

956
957
958void co_enable_hook_sys() //�⺯������������,�����ļ��ᱻ���ԣ�����
959{
960 stCoRoutine_t *co = GetCurrThreadCo();
961 if( co )
962 {
963 co->cEnableSysHook = 1;
964 }
965}
966

Callers 9

poll_routineFunction · 0.85
ProducerFunction · 0.85
ConsumerFunction · 0.85
RoutineFuncFunction · 0.85
readwrite_routineFunction · 0.85
accept_routineFunction · 0.85
RoutineFuncFunction · 0.85
RoutineFuncFunction · 0.85
readwrite_routineFunction · 0.85

Calls 1

GetCurrThreadCoFunction · 0.85

Tested by 1

RoutineFuncFunction · 0.68