This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/5550] pthread_cond_destroy() fails to release condition variable lock.
- From: "drepper at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 8 Jan 2008 16:28:50 -0000
- Subject: [Bug nptl/5550] pthread_cond_destroy() fails to release condition variable lock.
- References: <20080107220439.5550.rsa@us.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From drepper at redhat dot com 2008-01-08 16:28 -------
(In reply to comment #0)
> Doing so may not be necessary since the condition variable is essentially in an
> undefined state following the return from pthread_cond_destroy but it's nice to
> be thorough.
No. It's not necessary, it costs extra, and it hides bugs in programs. It's a
terrible idea.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
http://sourceware.org/bugzilla/show_bug.cgi?id=5550
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.