call underscore version of pthread_cleanup_pop instead.
This commit is contained in:
parent
06c8eb55ce
commit
9ba01c866b
@ -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