Loading src/event/epoll.cpp +30 −31 Original line number Diff line number Diff line Loading @@ -329,7 +329,7 @@ namespace netplus { EventWorker(int tid,ULONG_PTR args,EventWorkerArgs* eargs) { poll pollptr(eargs->ssocket, eargs->event, eargs->pollfd, eargs->timeout); int wait=0; EVENTLOOP: for(;;){ try { wait=pollptr.waitEventHandler(eargs->timeout); for(int i =0; i<wait; ++i){ Loading Loading @@ -359,11 +359,10 @@ EVENTLOOP: } } } }catch (NetException& e) { std::cerr << e.what() << std::endl; } goto EVENTLOOP; } } }; Loading Loading
src/event/epoll.cpp +30 −31 Original line number Diff line number Diff line Loading @@ -329,7 +329,7 @@ namespace netplus { EventWorker(int tid,ULONG_PTR args,EventWorkerArgs* eargs) { poll pollptr(eargs->ssocket, eargs->event, eargs->pollfd, eargs->timeout); int wait=0; EVENTLOOP: for(;;){ try { wait=pollptr.waitEventHandler(eargs->timeout); for(int i =0; i<wait; ++i){ Loading Loading @@ -359,11 +359,10 @@ EVENTLOOP: } } } }catch (NetException& e) { std::cerr << e.what() << std::endl; } goto EVENTLOOP; } } }; Loading