MCPcopy Create free account
hub / github.com/acl-dev/acl / InitFiber

Method InitFiber

lib_fiber/samples-gui/HttpGet/HttpGetDlg.cpp:181–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181void CHttpGetDlg::InitFiber()
182{
183 acl::acl_cpp_init();
184 // 设置协程调度的事件引擎,同时将协程调度设为自动启动模式,不能在进程初始化时启动
185 // 协程调试器,必须在界面消息引擎正常运行后才启动协程调度器!
186 acl::fiber::init(acl::FIBER_EVENT_T_WMSG, true);
187 acl::fiber::winapi_hook();
188}
189
190void CHttpGetDlg::OnBnClickedOk()
191{

Callers

nothing calls this directly

Calls 3

acl_cpp_initFunction · 0.85
winapi_hookFunction · 0.85
initFunction · 0.50

Tested by

no test coverage detected