diff options
author | David Goulet <dgoulet@torproject.org> | 2017-09-29 14:07:55 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-09-29 14:07:55 -0400 |
commit | 070064de899901daaf98aefc3335bc9f21acb5c6 (patch) | |
tree | 46ef31eae8f190a0b183ae11d6cf835d8764d849 /changes/bug23696 | |
parent | fc6c0b46fb2741d58e4c8afc22800c76c304b0dc (diff) | |
download | tor-070064de899901daaf98aefc3335bc9f21acb5c6.tar.gz tor-070064de899901daaf98aefc3335bc9f21acb5c6.zip |
sched: Always initialize scheduler_last_run to now
Because our monotonic time interface doesn't play well with value set to 0,
always initialize to now() the scheduler_last_run at init() of the KIST
scheduler.
Fixes #23696
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'changes/bug23696')
-rw-r--r-- | changes/bug23696 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/changes/bug23696 b/changes/bug23696 new file mode 100644 index 0000000000..d447815c84 --- /dev/null +++ b/changes/bug23696 @@ -0,0 +1,3 @@ + o Minor bugfixes (scheduler, kist): + - Properly initialize the scheduler last run time counter so it is not 0 + at the first tick. Fixes bug 23696; bugfix on 0.3.2.1-alpha. |