Re: [PATCH] pthread: fix the stale TSDs when deleting a key

2011-11-05 Thread Samuel Thibault
Pino Toscano, le Wed 02 Nov 2011 18:03:04 +0100, a écrit : > Attached there is a patch fixing this behaviour by cleaning up all the > values of the key being deleted. It includes also a small test case. Reviewed and applied, thanks! Samuel

Re: [PATCH] pthread: fix the stale TSDs when deleting a key

2011-11-04 Thread Thomas Schwinge
Hi! On Wed, 2 Nov 2011 18:03:04 +0100, Pino Toscano wrote: > as I found few months ago[1], when calling pthread_key_delete() all its > values in threads are not removed; this, plus the the fact that deleted > keys can be reused in pthread_key_create(), causes that in some > occasions (i.e. when a

[PATCH] pthread: fix the stale TSDs when deleting a key

2011-11-02 Thread Pino Toscano
Hi, as I found few months ago[1], when calling pthread_key_delete() all its values in threads are not removed; this, plus the the fact that deleted keys can be reused in pthread_key_create(), causes that in some occasions (i.e. when a new key is actually a reused one) there are the old thread spec