Commit c0c0b24b authored by jan.koester's avatar jan.koester
Browse files

test

parent 519553a8
Loading
Loading
Loading
Loading
+3 −2
Changes for src/event/kqueue.cpp: 3 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -646,8 +646,9 @@ namespace netplus {
                                int wait = pollptr.waitEventHandler(eargs->timeout);

                                if (wait == 0) {
                                    // No events, brief sleep to reduce CPU usage
                                    usleep(1000);  // 1ms
                                    // kevent() already blocked for the full
                                    // timeout duration — no additional sleep
                                    // needed (matches epoll behavior).
                                    continue;
                                }