--- ircd-hybrid/branches/8.2.x/src/s_bsd_kqueue.c 2015/09/13 17:18:52 6540 +++ ircd-hybrid/branches/8.2.x/src/s_bsd_kqueue.c 2015/09/16 11:01:18 6541 @@ -157,9 +157,8 @@ if (num < 0) { -#ifdef HAVE_USLEEP - usleep(50000); /* avoid 99% CPU in comm_select */ -#endif + const struct timespec req = { .tv_sec = 0, .tv_nsec = 50000000 }; + nanosleep(&req, NULL); /* Avoid 99% CPU in comm_select */ return; }