(感谢chasenzhang5指导)
编译环境:Ubuntu 18.04,Qt5.11.2
有关技术:C++,epoll机制,线程池,Reactor模式
服务器:
C10K_server.pro
TEMPLATE = app
CONFIG += console c++11
CONFIG -= app_bundle
CONFIG -= qt
LIBS += -lpthread
SOURCES += \
main.cpp \
threadpool.cpp \
wrap.cpp \
systeminfo.cpp \
queueoperation.cpp \
savedata.cpp \
buffer.cpp \
epoll_serv.cpp \
my_thread.cpp
HEADERS += \
threadpool.h \
commoninc.h \
wrap.h \
systeminfo.h \
queueoperation.h \
savedata.h \
buffer.h \
epoll_serv.h \
my_thread.h
commoninc.h
<