[PATCH] D18496: [tsan] Fix a crash when exiting the main thread (e.g. dispatch_main)

Dmitry Vyukov via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 27 10:51:39 PDT 2016


dvyukov accepted this revision.
dvyukov added a comment.
This revision is now accepted and ready to land.

LGTM. But please document how pthread_exit gets called on the main thread and change sleep(3) to sleep(1) which should be enough to catch the crash in most executions.


http://reviews.llvm.org/D18496





More information about the llvm-commits mailing list