mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Update.
2000-04-24 Ulrich Drepper <drepper@redhat.com> * manager.c (pthread_free): Use FREE_THREAD not FREE_THREAD_SELF. * sysdeps/i386/useldt.h: Use "q" constraint instead of "r" where necessary. * sysdeps/i386/i686/pt-machine.h: Include "../useldt.h".
This commit is contained in:
@@ -510,8 +510,8 @@ static void pthread_free(pthread_descr th)
|
||||
handle->h_descr = NULL;
|
||||
handle->h_bottom = (char *)(-1L);
|
||||
__pthread_spin_unlock(&handle->h_lock);
|
||||
#ifdef FREE_THREAD_SELF
|
||||
FREE_THREAD_SELF(th, th->p_nr);
|
||||
#ifdef FREE_THREAD
|
||||
FREE_THREAD(th, th->p_nr);
|
||||
#endif
|
||||
/* One fewer threads in __pthread_handles */
|
||||
__pthread_handles_num--;
|
||||
|
||||
Reference in New Issue
Block a user