Loading src/event/kqueue.cpp +2 −2 Changes for src/event/kqueue.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define BLOCKSIZE 16384 namespace netplus { bool RUNNING=true; std::atomic<bool> RUNNING(true); void signalHandler(int signum) { switch(signum){ Loading Loading @@ -166,7 +166,7 @@ namespace netplus { int waitEventHandler(int timeout) { struct timespec ts; ts.tv_nsec= timeout; ts.tv_nsec = (timeout % 1000) * 1000000; int evn = kevent(_pollFD,nullptr,0,_Events,_ServerSocket->getMaxconnections(),&ts); if (evn < 0 ) { Loading Loading
src/event/kqueue.cpp +2 −2 Changes for src/event/kqueue.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define BLOCKSIZE 16384 namespace netplus { bool RUNNING=true; std::atomic<bool> RUNNING(true); void signalHandler(int signum) { switch(signum){ Loading Loading @@ -166,7 +166,7 @@ namespace netplus { int waitEventHandler(int timeout) { struct timespec ts; ts.tv_nsec= timeout; ts.tv_nsec = (timeout % 1000) * 1000000; int evn = kevent(_pollFD,nullptr,0,_Events,_ServerSocket->getMaxconnections(),&ts); if (evn < 0 ) { Loading