xevent Using reactor mode. Encapsulation interface of epoll and kqueue and select. epoll for linux kqueue for mac os select for windows main public function initxevent regxevent unregxevent dispatchxevent there is an example of the interface using in file test.c