I see. There certainly should have been a comment in the code about why
pthread_cancel was chosen. I still think it's a particularly poor choice.
For glibc, I think pthread_getspecific or pthread_key_create are better
choices. Those are much smaller functions that don't bring very much dead
cod
On Thu, Jan 26, 2012 at 05:07:38PM -0800, Roland McGrath wrote:
> What do folks think about this change? It obviously should have no effect
> whatsoever on builds not using glibc. I'm pretty confident that it won't
> have any bad effect on a build using any extant version of glibc that had
> pthr