1 #include <pthread.h> 2 #include <threads.h> 3 __pthread_equal(pthread_t a,pthread_t b)4static int __pthread_equal(pthread_t a, pthread_t b) 5 { 6 return a==b; 7 } 8 9 weak_alias(__pthread_equal, pthread_equal); 10 weak_alias(__pthread_equal, thrd_equal); 11