Romain Vimont
85edba20e7
Enforce deadline reached on timeout
...
The value of sc_tick_now() has microsecond precision, but
sc_cond_timedwait() has only millisecond precision.
To guarantee that sc_tick_now() >= deadline when sc_cond_timedwait()
returns due to timeout, round up to the next millisecond.
This avoids to call a non-blocking sc_cond_timedwait() in a loop for no
reason until a target deadline during up to 1 millisecond.
Refs 682a6911735cb8f6dccd9653ce30b72f267235c6
2022-02-16 18:29:30 +01:00
..
2022-02-09 10:00:25 +01:00
2022-02-09 09:52:15 +01:00
2022-01-04 17:41:40 +01:00
2022-02-10 08:54:43 +01:00
2022-02-16 18:29:30 +01:00
2022-02-15 19:25:57 +01:00
2022-01-04 17:41:40 +01:00
2021-11-24 19:55:00 +01:00
2022-02-09 09:53:19 +01:00
2022-02-12 09:12:46 +01:00
2022-01-27 16:47:51 +01:00
2022-02-09 09:52:15 +01:00
2022-01-14 22:17:30 +01:00
2022-02-02 21:03:55 +01:00
2022-02-02 21:03:55 +01:00
2022-02-12 09:12:46 +01:00
2022-02-02 21:03:55 +01:00
2022-02-12 09:12:46 +01:00
2022-01-27 23:36:23 +01:00
2022-02-09 09:52:15 +01:00
2022-02-04 08:39:10 +01:00
2022-02-16 18:12:57 +01:00
2022-01-27 19:02:07 +01:00
2022-01-16 17:37:28 +01:00
2022-01-27 23:36:21 +01:00
2022-01-27 23:36:21 +01:00
2022-01-23 12:16:24 +01:00
2022-01-27 16:47:51 +01:00
2022-01-14 22:17:30 +01:00
2022-02-09 10:15:07 +01:00
2022-01-27 16:47:51 +01:00
2022-01-14 22:17:30 +01:00
2022-02-15 19:25:57 +01:00
2022-02-15 19:25:57 +01:00
2022-02-09 09:52:15 +01:00
2021-11-24 09:41:21 +01:00
2022-02-09 09:52:15 +01:00
2022-02-02 21:03:55 +01:00
2022-02-15 19:25:57 +01:00
2022-02-10 08:50:18 +01:00
2022-02-10 08:50:18 +01:00
2022-02-15 19:25:57 +01:00
2022-02-15 19:25:57 +01:00
2022-01-16 17:37:28 +01:00
2022-02-09 09:52:15 +01:00
2022-01-16 17:37:28 +01:00
2022-02-09 10:15:19 +01:00
2022-02-09 10:15:07 +01:00
2021-12-09 21:32:11 +01:00