Hi,

I've been using libev for some time and it works great. Then I got a
timeout and strace said:

    epoll_wait(4, {{EPOLLIN, {u32=5, u64=42949672965}}}, 64, 59743) = 1

The timeout time was exactly 59743 milliseconds. It's a constant
defined in ev.c:
Revision 1.120:

    #define MAX_BLOCKTIME 59.743 /* never wait longer than this time
(to detect time jumps) */

Revision 1.119:

    #define MAX_BLOCKTIME 59.731 /* never wait longer than this time
(to detect time jumps) */

Could you tell me how these values are determined? If I may ask.

Many thanks,
Physacco

_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to