/[svn]/ircd-hybrid/branches/8.2.x/src/s_bsd_epoll.c
ViewVC logotype

Diff of /ircd-hybrid/branches/8.2.x/src/s_bsd_epoll.c

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

revision 7566 by michael, Thu Feb 18 21:07:50 2016 UTC revision 7567 by michael, Tue May 24 16:23:51 2016 UTC
# Line 37  static fde_t efd; Line 37  static fde_t efd;
37    
38    
39  /*  /*
40   * init_netio   * netio_init
41   *   *
42   * This is a needed exported function which will be called to initialise   * This is a needed exported function which will be called to initialise
43   * the network loop code.   * the network loop code.
44   */   */
45  void  void
46  init_netio(void)  netio_init(void)
47  {  {
48    int fd;    int fd;
49    
50    if ((fd = epoll_create(hard_fdlimit)) < 0)    if ((fd = epoll_create(hard_fdlimit)) < 0)
51    {    {
52      ilog(LOG_TYPE_IRCD, "init_netio: couldn't open epoll fd: %s",      ilog(LOG_TYPE_IRCD, "netio_init: couldn't open epoll fd: %s",
53           strerror(errno));           strerror(errno));
54      exit(EXIT_FAILURE); /* Whee! */      exit(EXIT_FAILURE); /* Whee! */
55    }    }

Legend:
Removed from v.7566  
changed lines
  Added in v.7567

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