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.
Differential D113919
tsan: use pthread_equal instead of direct pthread_t comparison dvyukov on Nov 15 2021, 10:47 AM. Authored by
Details 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.
Diff Detail
|