From cbdadd6e3ebff675d8f57bbb74520c6e167bd669 Mon Sep 17 00:00:00 2001 From: davidxu Date: Thu, 20 Dec 2007 04:40:12 +0000 Subject: call underscore version of pthread_cleanup_pop instead. --- lib/libthr/thread/thr_exit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libthr') 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: */ -- cgit v1.1