call underscore version of pthread_cleanup_pop instead.

This commit is contained in:
David Xu 2007-12-20 04:40:12 +00:00
parent 06c8eb55ce
commit 9ba01c866b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174806

View File

@ -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: */