This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Patch for broken pthread_key_delete.
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Kaz Kylheku <kaz at ashi dot footprints dot net>
- Cc: GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- Date: 28 Nov 2001 23:47:41 -0800
- Subject: Re: Patch for broken pthread_key_delete.
- References: <Pine.LNX.4.33.0111282248060.27161-100000@ashi.FootPrints.net>
- Reply-to: drepper at redhat dot com (Ulrich Drepper)
Kaz Kylheku <kaz@ashi.footprints.net> writes:
> + Bugfix to pthread_key_delete. It was iterating over the thread
> + manager's linked list of threads, behind the thread manager's
> + back causing a race. The fix is to have the manager iterate over
> + the threads instead, using a new request type for doing so.
This looks better than I expected. Thanks, I've applied the patch.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------