mixed mode for ae_epoll