llvm-project/compiler-rt/test/tsan/libdispatch
Julian Lettner 1814355655 [NFC][TSan][libdispatch] Fix test for dispatch_apply[_f]
* Array index out of bounds: 100 iterations, but size of array is 2.
* Unmatched barrier_init (2) with barrier_wait (200)
* Number of iterations must be smaller than the available parallelism
  for the queue, otherwise we deadlock (since every barrier_wait call
  blocks the thread).

Scary: All of this worked reliably in gcd-apply.mm (for Darwin)

Rievewed By: kubamracek

Differential Revision: https://reviews.llvm.org/D59510

llvm-svn: 356418
2019-03-18 21:55:41 +00:00
..
apply-race.c
apply.c [NFC][TSan][libdispatch] Fix test for dispatch_apply[_f] 2019-03-18 21:55:41 +00:00
data.c
dispatch_main.c
dispatch_once_deadlock.c
groups-destructor.c
groups-leave.c
groups-stress.c
lit.local.cfg
once.c
semaphore-norace.c
source-serial.c
suspend.c