diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2021-11-15 19:44:34 +0100 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2021-11-16 07:51:24 +0100 |
commit | 87261caa550d2399b0556af44f60e1482d8c4179 (patch) | |
tree | 349d99631b6bd73ca49da2b7a8a7481cb6a2c5db /lldb/packages/Python/lldbsuite/test/gdbclientutils.py | |
parent | 64b45399e5c547dc59ea3c72891fccdda7284eaa (diff) | |
download | llvm-87261caa550d2399b0556af44f60e1482d8c4179.zip llvm-87261caa550d2399b0556af44f60e1482d8c4179.tar.gz llvm-87261caa550d2399b0556af44f60e1482d8c4179.tar.bz2 |
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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions