clock_getres.2: Note that CPU-time clocks are not settable.

Explicitly note that CLOCK_PROCESS_CPUTIME_ID and
CLOCK_PROCESS_CPUTIME_ID are not settable.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-03-29 22:11:24 +02:00
parent a215069794
commit 71b7e2a5dc
1 changed files with 2 additions and 0 deletions

View File

@ -203,9 +203,11 @@ or similar.
.BR CLOCK_PROCESS_CPUTIME_ID " (since Linux 2.6.12)"
Per-process CPU-time clock
(measures CPU time consumed by all threads in the process).
On Linux, this clock is not settable.
.TP
.BR CLOCK_THREAD_CPUTIME_ID " (since Linux 2.6.12)"
Thread-specific CPU-time clock.
On Linux, this clock is not settable.
.SH RETURN VALUE
.BR clock_gettime (),
.BR clock_settime (),