Attempt to fix flaky tests.
authorEric Fiselier <eric@efcs.ca>
Thu, 2 May 2019 13:22:55 +0000 (13:22 +0000)
committerEric Fiselier <eric@efcs.ca>
Thu, 2 May 2019 13:22:55 +0000 (13:22 +0000)
commita4939d35070f569d4ad3e6161ea382d348d0e72a
tree6e7eb6c218a774d5f2dad5824449906437eace1f
parent4d738566d68722a6d59319b666f307f394333617
Attempt to fix flaky tests.

The threaded cxa guard test attempted to test multithreaded waiting
by lining up a bunch of threads at a held init lock and releasing them.
The test initially wanted each thread to observe the lock being held,
but some threads may arive too late.

This patch cleans up the test and relaxes the restrictions.

llvm-svn: 359785
libcxxabi/test/guard_threaded_test.pass.cpp