Overview
| Comment: | after at: added simple workaround for absolute timers/sleep ("after at real-time"): because we use monotonic time in all wait functions, so to avoid too long wait by the absolute timers (to be able to trigger it) if time jumped to the expected absolute time, just let block for maximal 1 second if absolute timers available. test-cases: time-jumps (TIP #302) test covered now. Note: on some platforms it is only possible if the user has corresponding privileges to change system date and time. Ex.: sudo LD_LIBRARY_PATH=. ./tclsh ../tests/timer.test -match timer-20.* |
|---|---|
| Timelines: | family | ancestors | descendants | both | sebres-8-5-event-perf-branch |
| Files: | files | file ages | folders |
| SHA1: |
12d1d63e1836836b9ab87a9171ed0a9f |
| User & Date: | sebres on 2017-07-03 13:32:24.524 |
| Other Links: | branch diff | manifest | tags |
Context
|
2017-07-03
| ||
| 13:32 | cleanup... check-in: 059712404c user: sebres tags: sebres-8-5-event-perf-branch | |
| 13:32 | after at: added simple workaround for absolute timers/sleep ("after at real-time"): because we use m... check-in: 12d1d63e18 user: sebres tags: sebres-8-5-event-perf-branch | |
| 13:32 | code review and small optimizations check-in: 3fc8da2b5f user: sebres tags: sebres-8-5-event-perf-branch | |
Changes
Modified generic/tclTimer.c
from [5607139d08]
to [a57fe8f358].
[diff]
Modified tests/timer.test
from [afa5f42e26]
to [26d58feaa6].
[diff]