/[svn]/ircd-hybrid/libio/comm/kqueue.c
ViewVC logotype

Diff of /ircd-hybrid/libio/comm/kqueue.c

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

revision 840 by knight, Tue Oct 4 18:05:45 2005 UTC revision 841 by bear, Fri Feb 9 21:24:15 2007 UTC
# Line 77  kq_update_events(int fd, int filter, int Line 77  kq_update_events(int fd, int filter, int
77    
78    EV_SET(kep, (uintptr_t) fd, (short) filter, what, 0, 0, NULL);    EV_SET(kep, (uintptr_t) fd, (short) filter, what, 0, 0, NULL);
79    
80    if (kqoff == KE_LENGTH)    if (++kqoff == KE_LENGTH)
81    {    {
82      kevent(kqfd.fd, kq_fdlist, kqoff, NULL, 0, &zero_timespec);      kevent(kqfd.fd, kq_fdlist, kqoff, NULL, 0, &zero_timespec);
83      kqoff = 0;      kqoff = 0;
84    }    }
   else  
     kqoff++;  
85  }  }
86    
87  /*  /*

Legend:
Removed from v.840  
changed lines
  Added in v.841

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