Epoll的C++封装

以前因工做须要,封装的一个,贴出来供参考和使用。code 使用上,主要也是wait它,再利用重载的[]操做符进行操做,让人感受更清晰明了一点。事件 #ifndef EPOLL_H #define EPOLL_H #include <sys/epoll.h> #include <unistd.h> /** * @brief The Epoll class 对epoll的封装 */ clas
相关文章
相关标签/搜索