This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/7008] pthread_condattr_setclock will modify the attribute of condition to PTHREAD_PROCESS_PRIVATE


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]