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

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

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

revision 1156 by michael, Tue Aug 9 20:29:20 2011 UTC revision 1247 by michael, Sat Oct 1 07:54:24 2011 UTC
# Line 104  init_netio(void) Line 104  init_netio(void)
104    
105    if ((fd = epoll_create(hard_fdlimit)) < 0)    if ((fd = epoll_create(hard_fdlimit)) < 0)
106    {    {
107      ilog(L_CRIT, "init_netio: Couldn't open epoll fd - %d: %s",      ilog(LOG_TYPE_IRCD, "init_netio: Couldn't open epoll fd - %d: %s",
108           errno, strerror(errno));           errno, strerror(errno));
109      exit(115); /* Whee! */      exit(115); /* Whee! */
110    }    }
# Line 157  comm_setselect(fde_t *F, unsigned int ty Line 157  comm_setselect(fde_t *F, unsigned int ty
157    
158      if (epoll_ctl(efd.fd, op, F->fd, &ep_event) != 0)      if (epoll_ctl(efd.fd, op, F->fd, &ep_event) != 0)
159      {      {
160        ilog(L_CRIT, "comm_setselect: epoll_ctl() failed: %s", strerror(errno));        ilog(LOG_TYPE_IRCD, "comm_setselect: epoll_ctl() failed: %s", strerror(errno));
161        abort();        abort();
162      }      }
163    }    }

Legend:
Removed from v.1156  
changed lines
  Added in v.1247

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