diff options
author | davidxu <davidxu@FreeBSD.org> | 2007-12-20 04:40:12 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2007-12-20 04:40:12 +0000 |
commit | cbdadd6e3ebff675d8f57bbb74520c6e167bd669 (patch) | |
tree | c5370c29d4c90596896674b4b195450e9cd9e5e0 /lib/libthr/thread/thr_exit.c | |
parent | cd0acadf511dddc20ce56f096eb54b0b80d81ffb (diff) | |
download | FreeBSD-src-cbdadd6e3ebff675d8f57bbb74520c6e167bd669.zip FreeBSD-src-cbdadd6e3ebff675d8f57bbb74520c6e167bd669.tar.gz |
call underscore version of pthread_cleanup_pop instead.
Diffstat (limited to 'lib/libthr/thread/thr_exit.c')
-rw-r--r-- | lib/libthr/thread/thr_exit.c | 2 |
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: */ |