refactor: worker struct and remove pipe
This commit is contained in:
7
include/server/epoll_utils.h
Normal file
7
include/server/epoll_utils.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#include "utils/utils.h"
|
||||
|
||||
cws_server_ret cws_epoll_add(int epfd, int sockfd);
|
||||
|
||||
cws_server_ret cws_epoll_del(int epfd, int sockfd);
|
||||
|
||||
int cws_epoll_create_with_fd(int fd);
|
||||
Reference in New Issue
Block a user