Skip to content
Commit a6bb464a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Peter Harris
Browse files

pthread_equal(): do not assume pthread_t is a comparable type



Anyway, the return value from pthread_self() being the only legal
pthread_t value in the case of stubs, all threads are one and the same.
In other words, pthread_equal() is always true.

Reviewed-by: default avatarJulien Cristau <jcristau@debian.org>
Signed-off-by: default avatarPeter Harris <pharris@opentext.com>
parent 79b3c383
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment