[PATCH] [Tsan] Fix the signal_recursive.cc test to pass on systems with high loads

Viktor Kutuzov vkutuzov at accesssoftek.com
Mon Dec 8 03:27:00 PST 2014


Updated. The idea behind process_sleep() is to count process time and thus make the test somewhat less dependent on system load. I've put it in a header so we can use it in other tests.

http://reviews.llvm.org/D6504

Files:
  test/tsan/process_sleep.h
  test/tsan/signal_recursive.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6504.17035.patch
Type: text/x-patch
Size: 2214 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141208/1f507d58/attachment.bin>


More information about the llvm-commits mailing list