Kevin Easton
c0c7cdbdcc
Rework the calculation of the select timeout in io() to be based on absolute wake time
...
An absolute wake time is now calculated and updated by set_server_bits(),
TimerTimeout() and tclTimerTimeout(). This is then used to calculate the actual
select() timeout, instead of having those functions calculate a relative timeout
value themselves. This significantly simplifies those functions, since the
underlying values tend to be recorded as absolute times.
It also allows us to disentangle tclTimeTimeout from TimerTimeout(), and move the
responsibility for calculating the QUEUE_SENDS wake time from TimerTimeout() to
set_server_bits() where it belongs.
The QUEUE_SENDS and CONNECT_DELAY wake up times will also now be correctly
calculated, based on the last sent time and connect time respectively.
2015-06-07 00:03:09 +10:00
..
2013-11-18 13:13:26 +00:00
2011-02-02 12:11:03 +00:00
2008-02-25 09:25:32 +00:00
2013-02-16 08:11:07 +00:00
2008-02-25 09:25:32 +00:00
2014-09-23 13:59:03 +00:00
2014-09-24 14:28:19 +00:00
2014-02-28 23:52:33 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:49:14 +00:00
2011-05-02 11:43:38 +00:00
2015-05-04 00:13:08 +10:00
2015-05-13 21:50:30 +10:00
2013-11-13 11:43:57 +00:00
2014-10-26 13:08:43 +00:00
2013-11-07 03:00:24 +00:00
2015-05-13 21:50:30 +10:00
2013-11-07 03:00:24 +00:00
2008-02-25 09:25:32 +00:00
2013-10-14 14:10:26 +00:00
2013-07-15 06:19:02 +00:00
2008-02-25 09:49:14 +00:00
2008-04-30 13:57:56 +00:00
2008-02-25 09:49:14 +00:00
2013-11-11 21:20:39 +00:00
2015-05-16 22:20:25 +10:00
2014-03-02 21:15:36 +00:00
2014-10-29 14:07:05 +00:00
2008-02-25 09:49:14 +00:00
2013-11-07 03:00:24 +00:00
2008-06-14 06:45:05 +00:00
2008-02-25 09:25:32 +00:00
2013-11-07 03:00:24 +00:00
2008-02-25 09:49:14 +00:00
2014-03-02 21:20:33 +00:00
2014-10-27 12:05:16 +00:00
2013-10-20 18:32:07 +00:00
2014-03-02 21:25:49 +00:00
2015-06-07 00:03:09 +10:00
2015-05-21 01:21:02 +10:00
2008-02-25 09:25:32 +00:00
2013-11-17 21:37:32 +00:00
2013-11-24 13:15:22 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:49:14 +00:00
2013-11-11 21:29:21 +00:00
2014-11-01 14:37:41 +00:00
2015-05-05 20:30:07 +10:00
2010-06-26 08:18:34 +00:00
2015-05-14 00:02:51 +10:00
2013-11-11 21:24:14 +00:00
2010-09-30 13:26:06 +00:00
2013-11-07 03:00:24 +00:00
2013-11-11 21:29:05 +00:00
2014-11-14 10:34:50 +00:00
2008-02-25 09:25:32 +00:00
2014-11-05 09:32:46 +00:00
2015-05-14 00:02:51 +10:00
2013-11-07 03:00:24 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:49:14 +00:00
2009-11-24 10:21:30 +00:00
2013-11-13 11:43:57 +00:00
2013-11-18 12:38:07 +00:00
2015-06-07 00:03:09 +10:00
2008-02-25 09:49:14 +00:00
2014-10-14 12:57:01 +00:00
2011-02-02 12:34:13 +00:00
2015-06-07 00:03:09 +10:00
2013-11-11 21:28:31 +00:00
2014-11-06 10:25:37 +00:00
2015-06-07 00:03:09 +10:00
2013-11-07 03:00:24 +00:00
2013-02-24 07:32:59 +00:00
2013-11-11 21:29:11 +00:00
2015-06-03 23:16:57 +10:00
2015-05-08 22:24:36 +10:00
2013-11-11 13:37:14 +00:00
2008-02-25 09:25:32 +00:00
2015-06-03 23:16:57 +10:00
2013-09-21 05:12:43 +00:00
2013-11-13 11:43:57 +00:00
2008-02-25 09:25:32 +00:00