3651c1b5c9
We get occasional failures of 30_threads/future/members/poll.cc on some platforms whose high resolution clock doesn't have such a high resolution; wait_for_0 ends up as 0, and then some asserts fail as intervals measured as longer than zero are tested for less than several times zero. This patch adds some calibration in the iteration count to set a measurable base time interval with some additional margin. for libstdc++-v3/ChangeLog * testsuite/30_threads/future/members/poll.cc: Calibrate iteration count. |
||
---|---|---|
.. | ||
async | ||
barrier | ||
call_once | ||
condition_variable | ||
condition_variable_any | ||
future | ||
headers | ||
jthread | ||
latch | ||
lock | ||
lock_guard | ||
mutex | ||
packaged_task | ||
promise | ||
recursive_mutex | ||
recursive_timed_mutex | ||
scoped_lock | ||
semaphore | ||
shared_future | ||
shared_lock | ||
shared_mutex | ||
shared_timed_mutex | ||
stop_token | ||
this_thread | ||
thread | ||
timed_mutex | ||
try_lock | ||
unique_lock |