This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch for broken pthread_key_delete.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]