1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00
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:
Ulrich Drepper
2000-04-25 04:28:38 +00:00
parent 4ded1f0874
commit 9bf4d6404e
4 changed files with 17 additions and 11 deletions

View File

@@ -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--;