| 824 | EventLoop* loop = nullptr; |
| 825 | |
| 826 | int init() { |
| 827 | epfd = epoll_create(1); |
| 828 | loop = new_event_loop({this, &ETPoller::waiter}, |
| 829 | {this, &ETPoller::notify}); |
| 830 | loop->async_run(); |
| 831 | return epfd; |
| 832 | } |
| 833 | |
| 834 | int fini() { |
| 835 | loop->stop(); |
no test coverage detected