[all-commits] [llvm/llvm-project] 87261c: tsan: use pthread_equal instead of direct pthread_...
Dmitry Vyukov via All-commits
all-commits at lists.llvm.org
Mon Nov 15 22:51:37 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 87261caa550d2399b0556af44f60e1482d8c4179
https://github.com/llvm/llvm-project/commit/87261caa550d2399b0556af44f60e1482d8c4179
Author: Dmitry Vyukov <dvyukov at google.com>
Date: 2021-11-16 (Tue, 16 Nov 2021)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
Log Message:
-----------
tsan: use pthread_equal instead of direct pthread_t comparison
man pthread_equal:
The pthread_equal() function is necessary because thread IDs
should be considered opaque: there is no portable way for
applications to directly compare two pthread_t values.
Depends on D113916.
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D113919
More information about the All-commits
mailing list