call underscore version of pthread_cleanup_pop instead.
This commit is contained in:
parent
06c8eb55ce
commit
9ba01c866b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174806
@ -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: */
|
||||
|
Loading…
Reference in New Issue
Block a user