HomePhabricator

[libcxx testing] Remove ALLOW_RETRIES from two futures tests

Authored by davezarzycki on May 14 2020, 3:12 AM.

Description

[libcxx testing] Remove ALLOW_RETRIES from two futures tests

These two tests do not use the "thread sleeps X milliseconds" pattern
that other libcxx tests use, so all we can do in order to remove
ALLOW_RETRIES workaround is remove the assumption that measuring the
"quick" return of wait() is possible (it is not). Let the test harness
verify overall that wait() does not hang.

As a bonus, have the spin-waiting threads yield(), which is what well
behaved code should do.

Details

Committed
davezarzyckiMay 14 2020, 3:18 AM
Parents
rGdeea174ee508: [lldb/gdb-remote] Change default value of use-libraries-svr4 to true
Branches
Unknown
Tags
Unknown