This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/7008] pthread_condattr_setclock will modify the attribute of condition to PTHREAD_PROCESS_PRIVATE
- From: "s dot ikarashi at jp dot fujitsu dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 12 Nov 2008 02:55:28 -0000
- Subject: [Bug nptl/7008] pthread_condattr_setclock will modify the attribute of condition to PTHREAD_PROCESS_PRIVATE
- References: <20081106020618.7008.chul@cn.fujitsu.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From s dot ikarashi at jp dot fujitsu dot com 2008-11-12 02:55 -------
I think it should be
*valuep = ((*valuep & ~(((1 << COND_NWAITERS_SHIFT + 1) - 1) & ~1))
| (clock_id << 1));
in order to correspond to pthread_condattr_getclock().
--
http://sourceware.org/bugzilla/show_bug.cgi?id=7008
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.