[wanproxy/wanproxy] 242b49: SIGNAL_IDENT unneeded for epoll; copied from kq.
Juli Mallett
juli at clockworksquid.com
Thu Aug 21 23:32:20 PDT 2014
Branch: refs/heads/master
Home: https://github.com/wanproxy/wanproxy
Commit: 242b492667740b057bc00147a88f281edbcc6a52
https://github.com/wanproxy/wanproxy/commit/242b492667740b057bc00147a88f281edbcc6a52
Author: Juli Mallett <juli at clockworksquid.com>
Date: 2014-07-07 (Mon, 07 Jul 2014)
Changed paths:
M event/event_poll_epoll.cc
Log Message:
-----------
SIGNAL_IDENT unneeded for epoll; copied from kq.
Commit: bdf2e75048d8ece1575a76866c0990a45b9f192c
https://github.com/wanproxy/wanproxy/commit/bdf2e75048d8ece1575a76866c0990a45b9f192c
Author: Juli Mallett <juli at clockworksquid.com>
Date: 2014-08-21 (Thu, 21 Aug 2014)
Changed paths:
M event/timeout_queue.cc
Log Message:
-----------
Fix deadline calculation.
We set the deadline in terms of the number of milliseconds away the
deadline is and then add the current time. The previous approach would
do the arithmetic itself on the fields of NanoTime and got it wrong, so
that increments not modular to 1s would generate an invalid NanoTime,
which could cause things like pthread_cond_timedwait to fail.
Compare: https://github.com/wanproxy/wanproxy/compare/413f5f0000c3...bdf2e75048d8
More information about the wanproxy
mailing list