Patch for broken pthread_key_delete.

Ulrich Drepper drepper@redhat.com
Wed Nov 28 23:48:00 GMT 2001


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   `------------------------



More information about the Libc-alpha mailing list