Loading src/event/kqueue.cpp +3 Changes for src/event/kqueue.cpp: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -55,6 +55,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. namespace netplus { std::atomic<bool> RUNNING(true); std::mutex CLOSE_HANDLER_MUTEX; void signalHandler(int signum) { switch(signum){ Loading Loading @@ -329,6 +330,8 @@ namespace netplus { void CloseEventHandler(int pos, const int tid, ULONG_PTR args) { std::lock_guard<std::mutex> global_lock(CLOSE_HANDLER_MUTEX); con *ccon = (con*)_Events[pos].udata; if (!ccon) { Loading Loading
src/event/kqueue.cpp +3 Changes for src/event/kqueue.cpp: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -55,6 +55,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. namespace netplus { std::atomic<bool> RUNNING(true); std::mutex CLOSE_HANDLER_MUTEX; void signalHandler(int signum) { switch(signum){ Loading Loading @@ -329,6 +330,8 @@ namespace netplus { void CloseEventHandler(int pos, const int tid, ULONG_PTR args) { std::lock_guard<std::mutex> global_lock(CLOSE_HANDLER_MUTEX); con *ccon = (con*)_Events[pos].udata; if (!ccon) { Loading