From cefae5739457cdfb114ca108ed990f8efa4a46a0 Mon Sep 17 00:00:00 2001 From: Matt Sergeant Date: Thu, 28 Apr 2005 21:37:01 +0000 Subject: [PATCH] Call PostEventLoop at end of Epoll event loop (same as poll() and kqueue) git-svn-id: https://svn.perl.org/qpsmtpd/branches/high_perf@408 958fd67b-6ff1-0310-b445-bb7760255be9 --- lib/Danga/Socket.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Danga/Socket.pm b/lib/Danga/Socket.pm index dfaf785..1f9a0fa 100644 --- a/lib/Danga/Socket.pm +++ b/lib/Danga/Socket.pm @@ -282,6 +282,8 @@ sub EpollEventLoop { $sock->ticker; } } + + return unless PostEventLoop(); print STDERR "Event loop ending; restarting.\n"; }