[PATCH] D31883: Don't assume PTHREAD_CREATE_JOINABLE is 0 on all systems
Aleksey Shlyapnikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 12 10:56:51 PDT 2017
alekseyshl added a comment.
Hmm, what about this then, define bool IsThreadAttached wrapper function in sanitizer_common/sanitizer_{linux|mac}, the same way we do for GetTid(). Definitions from pthread.h are available there, feels like a cleaner solution.
https://reviews.llvm.org/D31883
More information about the llvm-commits
mailing list