[PATCH] D18476: [tsan] Remove long sleeps from fork tests

Dmitry Vyukov via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 27 07:30:36 PDT 2016

dvyukov added a comment.

OK, I see.

For the sleeper thread please either increase sleep duration (1e6 seconds is OK here), or call sleep(1) in a loop. sched_yield will consume whole core.

For the watchdog thread, I've tried to be nicer to LLVM buildbots. But I don't remember that it ever fired. So I guess it is OK to remove it.


More information about the llvm-commits mailing list