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

Method read_wakeup

lib_acl_cpp/samples/master/master_http_rpc/http_client.cpp:34–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34bool http_client::read_wakeup()
35{
36 // 测试状态
37 rpc_read_wait_del();
38 rpc_add();
39
40 // 先禁止异步流监控
41 conn_->disable_read();
42
43 // 发起一个 http 会话过程
44 rpc_manager::get_instance().fork(http_);
45
46 return true;
47}

Callers

nothing calls this directly

Calls 4

disable_readMethod · 0.80
rpc_read_wait_delFunction · 0.70
rpc_addFunction · 0.70
forkMethod · 0.45

Tested by

no test coverage detected