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
Loading
Please sign in to comment