summaryrefslogtreecommitdiffstats
path: root/lib/libthr
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2007-12-20 04:40:12 +0000
committerdavidxu <davidxu@FreeBSD.org>2007-12-20 04:40:12 +0000
commitcbdadd6e3ebff675d8f57bbb74520c6e167bd669 (patch)
treec5370c29d4c90596896674b4b195450e9cd9e5e0 /lib/libthr
parentcd0acadf511dddc20ce56f096eb54b0b80d81ffb (diff)
downloadFreeBSD-src-cbdadd6e3ebff675d8f57bbb74520c6e167bd669.zip
FreeBSD-src-cbdadd6e3ebff675d8f57bbb74520c6e167bd669.tar.gz
call underscore version of pthread_cleanup_pop instead.
Diffstat (limited to 'lib/libthr')
-rw-r--r--lib/libthr/thread/thr_exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_exit.c b/lib/libthr/thread/thr_exit.c
index 1e533f5..47eb0d2 100644
--- a/lib/libthr/thread/thr_exit.c
+++ b/lib/libthr/thread/thr_exit.c
@@ -100,7 +100,7 @@ _pthread_exit(void *status)
/* Save the return value: */
curthread->ret = status;
while (curthread->cleanup != NULL) {
- pthread_cleanup_pop(1);
+ _pthread_cleanup_pop(1);
}
/* Check if there is thread specific data: */
OpenPOWER on IntegriCloud