diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-18 03:58:18 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-18 03:58:18 +0000 |
commit | 0ac08f41c76e8087a832c081db61ef80e4a65041 (patch) | |
tree | 590707b31a34c555c4a1ae5e2a75bd5d52ee524d /src | |
parent | 588b93a2bad8f9326a67e87c28778cf32d11122c (diff) |
Removed unncessary sched_yield calls
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1421 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index baebc350c..a9398c382 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -2803,9 +2803,6 @@ int InspIRCd(char** argv, int argc) #ifdef USE_EPOLL i = epoll_wait(sep, event, 1, EP_DELAY); -#ifdef _POSIX_PRIORITY_SCHEDULING - sched_yield(); -#endif if (i > 0) { log(DEBUG,"epoll: Listening server socket event, i=%d, event.data.fd=%d",i,event[0].data.fd); @@ -3323,13 +3320,7 @@ int InspIRCd(char** argv, int argc) { #endif #ifdef USE_EPOLL -#ifdef _POSIX_PRIORITY_SCHEDULING - sched_yield(); -#endif i = epoll_wait(lep, event, 32, EP_DELAY); -#ifdef _POSIX_PRIORITY_SCHEDULING - sched_yield(); -#endif if (i > 0) for (j = 0; j < i; j++) { log(DEBUG,"epoll: Listening socket event, i=%d,events[j].data.fd=%d",i,event[j].data.fd); |