This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug linuxthreads/373] pthread_key_delete does not NULL key values prior to pthread_create
- From: "bugzilla at merlin dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 8 Sep 2004 21:12:31 -0000
- Subject: [Bug linuxthreads/373] pthread_key_delete does not NULL key values prior to pthread_create
- References: <20040908210923.373.bugzilla@merlin.org>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From bugzilla at merlin dot org 2004-09-08 21:12 -------
Created an attachment (id=188)
--> (http://sources.redhat.com/bugzilla/attachment.cgi?id=188&action=view)
demonstration of pthread_key_create/delete issue
Compile: gcc -pthread a.c -lpthread
Run: ./a.out
As printed, the initial key value is non-NULL for a reused key that was deleted
prior to invoking pthread_create().
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=373
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.