Changeset View
Changeset View
Standalone View
Standalone View
head/lib/libthr/thread/thr_equal.c
Show All 31 Lines | |||||
#include <sys/cdefs.h> | #include <sys/cdefs.h> | ||||
__FBSDID("$FreeBSD$"); | __FBSDID("$FreeBSD$"); | ||||
#include "namespace.h" | #include "namespace.h" | ||||
#include <pthread.h> | #include <pthread.h> | ||||
#include "un-namespace.h" | #include "un-namespace.h" | ||||
#include "thr_private.h" | #include "thr_private.h" | ||||
__weak_reference(_pthread_equal, pthread_equal); | __weak_reference(_thr_equal, pthread_equal); | ||||
__weak_reference(_thr_equal, _pthread_equal); | |||||
int | int | ||||
_pthread_equal(pthread_t t1, pthread_t t2) | _thr_equal(pthread_t t1, pthread_t t2) | ||||
{ | { | ||||
/* Compare the two thread pointers: */ | /* Compare the two thread pointers: */ | ||||
return (t1 == t2); | return (t1 == t2); | ||||
} | } |