/[svn]/ircd-hybrid/trunk/src/s_bsd_kqueue.c
ViewVC logotype

Diff of /ircd-hybrid/trunk/src/s_bsd_kqueue.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2588 by michael, Sat Oct 27 21:02:32 2012 UTC revision 2589 by michael, Wed Nov 20 23:25:12 2013 UTC
# Line 85  kq_update_events(int fd, int filter, int Line 85  kq_update_events(int fd, int filter, int
85    
86    if (++kqoff == KE_LENGTH)    if (++kqoff == KE_LENGTH)
87    {    {
88      kevent(kqfd.fd, kq_fdlist, kqoff, NULL, 0, &zero_timespec);      int i;
89    
90        for (i = 0; i < kqoff; ++i)
91          kevent(kqfd.fd, kq_fdlist[i], 1, NULL, 0, &zero_timespec);
92      kqoff = 0;      kqoff = 0;
93    }    }
94  }  }

Legend:
Removed from v.2588  
changed lines
  Added in v.2589

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28