public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/15555] New: pthread_condattr_setclock should accept CLOCK_MONOTONIC_COARSE
@ 2013-05-31 17:46 bernd.schubert at fastmail dot fm
  2013-06-01  1:15 ` [Bug libc/15555] " bugdal at aerifal dot cx
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bernd.schubert at fastmail dot fm @ 2013-05-31 17:46 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15555

            Bug ID: 15555
           Summary: pthread_condattr_setclock should accept
                    CLOCK_MONOTONIC_COARSE
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: bernd.schubert at fastmail dot fm
                CC: drepper.fsp at gmail dot com

I just tried to use pthread_condattr_setclock() and CLOCK_MONOTONIC_COARSE but 
that unexpectedly failed. So I checked the glibc code and noticed that only
CLOCK_MONOTONIC and CLOCK_REALTIME are supported. I'm not sure about the
clock_ids, but at least CLOCK_REALTIME_COARSE and CLOCK_MONOTONIC_COARSE should
be supported. 
Probably only CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID should be
forbidden, similar as musl libc does it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-21 15:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-31 17:46 [Bug libc/15555] New: pthread_condattr_setclock should accept CLOCK_MONOTONIC_COARSE bernd.schubert at fastmail dot fm
2013-06-01  1:15 ` [Bug libc/15555] " bugdal at aerifal dot cx
2014-02-07  3:17 ` [Bug nptl/15555] " jsm28 at gcc dot gnu.org
2014-06-13 17:34 ` fweimer at redhat dot com
2021-10-21 15:42 ` [Bug nptl/15555] pthread_condattr_setclock should accept CLOCK_MONOTONIC_COARSE, CLOCK_MONOTONIC_RAW fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).