NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

standards/51042: pthread_getcpuclockid(3) not available on NetBSD



>Number:         51042
>Category:       standards
>Synopsis:       pthread_getcpuclockid(3) not available on NetBSD
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    standards-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 04 11:40:00 +0000 2016
>Originator:     Kamil Rytarowski
>Release:        7.99.25
>Organization:
>Environment:
NetBSD compaq 7.99.25 NetBSD 7.99.25 (GENERIC) #0: Fri Dec 25 20:05:36 CET 2015  root@chieftec:/tmp/netbsd-tmp/sys/arch/amd64/compile/GENERIC amd64
>Description:
There is no pthread_getcpuclockid(3) on NetBSD:
	

PTHREAD_GETCPUCLOCKID(P)	    POSIX Programmer's Manual		 PTHREAD_GETCPUCLOCKID(P)

NAME
       pthread_getcpuclockid - access a thread CPU-time clock (ADVANCED REALTIME THREADS)

SYNOPSIS
       #include <pthread.h>
       #include <time.h>

       int pthread_getcpuclockid(pthread_t thread_id, clockid_t *clock_id);

DESCRIPTION
       The pthread_getcpuclockid() function shall return in clock_id the clock ID of the CPU-time
       clock of the thread specified by thread_id, if the thread specified by thread_id exists.

RETURN VALUE
       Upon successful completion, pthread_getcpuclockid() shall return zero; otherwise, an error
       number shall be returned to indicate the error.

ERRORS
       The pthread_getcpuclockid() function may fail if:

       ESRCH  The value specified by thread_id does not refer to an existing thread.

       The following sections are informative.

EXAMPLES
       None.

APPLICATION USAGE
       The pthread_getcpuclockid() function is part of the Thread CPU-Time Clocks option and need
       not be provided on all implementations.

RATIONALE
       None.

FUTURE DIRECTIONS
       None.

SEE ALSO
       clock_getcpuclockid() , clock_getres() , timer_create() , the Base Definitions  volume  of
       IEEE Std 1003.1-2001, <pthread.h>, <time.h>

COPYRIGHT
       Portions  of  this  text  are  reprinted  and  reproduced in electronic form from IEEE Std
       1003.1, 2003 Edition, Standard for Information Technology  --  Portable	Operating  System
       Interface  (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2003 by
       the Institute of Electrical and Electronics Engineers, Inc and  The  Open  Group.  In  the
       event  of  any  discrepancy  between this version and the original IEEE and The Open Group
       Standard, the original IEEE and The Open Group Standard is the referee document. The orig-
       inal Standard can be obtained online at http://www.opengroup.org/unix/online.html .

IEEE/The Open Group			       2003			 PTHREAD_GETCPUCLOCKID(P)

	

-- http://www.unix.com/man-page/posix/3posix/pthread_getcpuclockid/
>How-To-Repeat:
N/A
>Fix:
N/A



Home | Main Index | Thread Index | Old Index