Corinna Vinschen 597285ca58 Cygwin: timerfd: fix read(2) running wild
- On systems with inexact realtime clock, the current timestamp may
  be fractionally smaller than the desired timestamp.  This breaks the
  computation for incrementing overrun_count so overrun_count may end
  up as 0.  Expiring the timer with an overrun_count of 0 is a no-go.
  Make sure we always increment overrun_count by at least one after
  timer expiry.

- Do not expire the timer when another process deletes its timer_tracker.
  This, too, may result in a 0 overrun_count.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2019-01-20 22:18:17 +01:00
..
2019-01-15 22:02:33 +01:00
2018-10-10 17:49:53 +02:00
2016-11-24 16:09:31 +01:00
2019-01-15 22:02:33 +01:00
2013-04-30 23:43:08 +00:00
2012-11-23 13:22:47 +00:00
2019-01-15 22:02:33 +01:00
2016-08-23 15:07:42 +01:00
2016-06-25 00:43:01 +02:00
2019-01-15 22:02:33 +01:00
2019-01-15 22:02:33 +01:00
2019-01-15 22:02:33 +01:00
2014-04-26 17:38:22 +00:00
2019-01-15 22:02:33 +01:00
2018-02-20 17:59:53 +01:00
2015-03-03 12:58:34 +00:00
2015-11-18 19:09:47 +01:00
2017-03-27 22:03:58 +01:00
2018-08-07 14:51:10 +02:00
2018-08-07 14:51:10 +02:00
2015-08-17 11:05:43 +02:00
2013-04-23 09:44:36 +00:00
2019-01-13 22:48:43 +01:00
2018-04-16 22:46:11 -05:00
2018-02-07 13:07:44 +01:00
2019-01-15 22:02:33 +01:00
2017-03-27 22:03:58 +01:00
2019-01-13 23:13:33 +01:00
2013-04-23 09:44:36 +00:00
2016-06-23 16:56:41 +02:00