mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
Update.
* manager.c (pthread_handle_free): Likewise.
This commit is contained in:
@ -634,7 +634,7 @@ static void pthread_handle_free(pthread_t th_id)
|
||||
pthread_descr th;
|
||||
|
||||
__pthread_lock(&handle->h_lock, NULL);
|
||||
if (invalid_handle(handle, th_id)) {
|
||||
if (nonexisting_handle(handle, th_id)) {
|
||||
/* pthread_reap_children has deallocated the thread already,
|
||||
nothing needs to be done */
|
||||
__pthread_unlock(&handle->h_lock);
|
||||
|
Reference in New Issue
Block a user