/* Copyright (c) 2002-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "ioloop-private.h"
#ifdef IOLOOP_SELECT
#ifdef HAVE_SYS_SELECT_H
#endif
#include <unistd.h>
struct ioloop_handler_context {
int highest_fd;
};
{
int max_highest_fd;
continue;
break;
}
}
unsigned int initial_fd_count ATTR_UNUSED)
{
}
{
}
{
if (fd >= FD_SETSIZE)
}
{
/* check if we removed the highest fd */
}
}
{
int ret;
/* get the time left for next timeout task */
i_warning("select() : %m");
/* execute timeout handlers */
/* no I/O events */
return;
}
ret--;
}
}
}
#endif