Loading src/event/kqueue.cpp +2 −1 Changes for src/event/kqueue.cpp: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -327,7 +327,6 @@ namespace netplus { void CloseEventHandler(int pos, const int tid, ULONG_PTR args) { // This global lock is essential for making deletion safe std::lock_guard<std::mutex> global_lock(CLOSE_HANDLER_MUTEX); con *ccon = (con*)_Events[pos].udata; Loading Loading @@ -424,6 +423,8 @@ public: // Catches critical exceptions re-thrown from inner block or waitEventHandler failure. std::cerr << "CRITICAL WORKER ERROR: " << e.what() << std::endl; break; // Stop the RUNNING loop, thread terminates }catch(std::system_error &e){ std::cerr << e.what() << std::endl; } } } Loading Loading
src/event/kqueue.cpp +2 −1 Changes for src/event/kqueue.cpp: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -327,7 +327,6 @@ namespace netplus { void CloseEventHandler(int pos, const int tid, ULONG_PTR args) { // This global lock is essential for making deletion safe std::lock_guard<std::mutex> global_lock(CLOSE_HANDLER_MUTEX); con *ccon = (con*)_Events[pos].udata; Loading Loading @@ -424,6 +423,8 @@ public: // Catches critical exceptions re-thrown from inner block or waitEventHandler failure. std::cerr << "CRITICAL WORKER ERROR: " << e.what() << std::endl; break; // Stop the RUNNING loop, thread terminates }catch(std::system_error &e){ std::cerr << e.what() << std::endl; } } } Loading