MCPcopy Create free account
hub / github.com/caozhiyi/CppNet / Run

Method Run

test/rpc/FuncThread.cpp:10–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8}
9
10void CFuncThread::Run() {
11 while (!_stop) {
12 auto t = _Pop();
13 if (t) {
14 if (CallFunc(t->_func_name, t->_func_param_ret)){
15 _func_router->PushRet(t);
16 }
17
18 } else {
19 continue;
20 }
21 }
22}
23
24void CFuncThread::Stop() {
25 _stop = true;

Callers

nothing calls this directly

Calls 1

PushRetMethod · 0.80

Tested by

no test coverage detected