| 592 | MGB_CATCH_ALL_EXCEPTION("kill worker in ~TimedFuncInvokerImpl", pexc); |
| 593 | } |
| 594 | MGB_CATCH(..., {}); |
| 595 | clear_sock_fd(); |
| 596 | } |
| 597 | }; |
| 598 | |
| 599 | } // anonymous namespace |
| 600 | |
| 601 | TimedFuncInvoker& TimedFuncInvoker::ins() { |
| 602 | static TimedFuncInvokerImpl impl; |
| 603 | return impl; |
| 604 | } |
| 605 | |
| 606 | std::unique_ptr<TimedFuncInvoker, TimedFuncInvoker::Del> TimedFuncInvoker:: |
| 607 | make_test_ins() { |
no outgoing calls