| 163 | public: |
| 164 | ThreadInitByFunc() { SET_HANDLER(&ThreadInitByFunc::invoke); } |
| 165 | int |
| 166 | invoke(int, Event *ev) |
| 167 | { |
| 168 | void (*f)(EThread *) = reinterpret_cast<void (*)(EThread *)>(ev->cookie); |
| 169 | f(ev->ethread); |
| 170 | return 0; |
| 171 | } |
| 172 | } Thread_Init_Func; |
| 173 | } // namespace |
| 174 |
no test coverage detected