| 8 | } |
| 9 | |
| 10 | void 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 | |
| 24 | void CFuncThread::Stop() { |
| 25 | _stop = true; |