summaryrefslogtreecommitdiff
path: root/lib/libpthread/pthread.c
diff options
context:
space:
mode:
authordrochner <drochner@NetBSD.org>2007-11-14 19:28:23 +0000
committerdrochner <drochner@NetBSD.org>2007-11-14 19:28:23 +0000
commit095b25e7dd8f3fc22724d05bfa59fd72a9eaafc5 (patch)
tree7e08135e63e8f6dc04fc0b228f4e6e9a2a73edd3 /lib/libpthread/pthread.c
parent4a0a4d4f3085859fb1dc03116e7b4b3eafc11709 (diff)
Add pthread_equal() to libc stubs; this makes a lot of sense for
threadsafe libraries implementing own locking functions. Ride on yesterday's minor version bumps.
Diffstat (limited to 'lib/libpthread/pthread.c')
-rw-r--r--lib/libpthread/pthread.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libpthread/pthread.c b/lib/libpthread/pthread.c
index 78de6571e5d..c25f0fdb492 100644
--- a/lib/libpthread/pthread.c
+++ b/lib/libpthread/pthread.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread.c,v 1.88 2007/11/13 17:20:09 ad Exp $ */
+/* $NetBSD: pthread.c,v 1.89 2007/11/14 19:28:23 drochner Exp $ */
/*-
* Copyright (c) 2001, 2002, 2003, 2006, 2007 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread.c,v 1.88 2007/11/13 17:20:09 ad Exp $");
+__RCSID("$NetBSD: pthread.c,v 1.89 2007/11/14 19:28:23 drochner Exp $");
#define __EXPOSE_STACK 1
@@ -122,6 +122,7 @@ __strong_alias(__libc_thr_create,pthread_create)
__strong_alias(__libc_thr_exit,pthread_exit)
__strong_alias(__libc_thr_errno,pthread__errno)
__strong_alias(__libc_thr_setcancelstate,pthread_setcancelstate)
+__strong_alias(__libc_thr_equal,pthread_equal)
__strong_alias(__libc_thr_init,pthread__init)
/*