[PATCH] D19722: [sanitizer] Don't reuse the main thread in ThreadRegistry

Kuba Brecka via llvm-commits llvm-commits at lists.llvm.org
Mon May 2 01:13:49 PDT 2016


kubabrecka added a comment.

The crash happens with GCD worker threads.  The only way to wait for a worker thread to be destroyed that I know of, is using long sleep()s and even then it's non-deterministic and the actual delays differ in different OS versions.


http://reviews.llvm.org/D19722





More information about the llvm-commits mailing list