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

Method read_wakeup

app/wizard/tmpl/master/master_rpc.cpp:158–172  ·  view source on GitHub ↗

@override

Source from the content-addressed store, hash-verified

156
157 // @override
158 bool read_wakeup(void)
159 {
160 // Ϊ��ֹ�����߳��������ͻ������Ӷ�����������ӱ��رգ�
161 // ���Ա�����첽����������ȥ���Ը��첽���ļ��
162 // �����ӻ��� request_rpc::rpc_onover �б��ر�
163 client_->disable_read();
164
165 // ����ͬ������������
166 request_rpc* req = new request_rpc(client_);
167
168 // �����������ݴ�������ͨ�� rpc ͨ���������̴߳���
169 rpc_manager::get_instance().fork(req);
170
171 return true;
172 }
173
174 /**
175 * @override

Callers

nothing calls this directly

Calls 2

disable_readMethod · 0.80
forkMethod · 0.45

Tested by

no test coverage detected