mirror of https://github.com/mkerrisk/man-pages
timer_create.2: NOTES: add "C library/kernel ABI differences" subheading
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
c8c02fadd4
commit
de76572d12
|
@ -229,7 +229,16 @@ Return the overrun count for the last timer expiration.
|
||||||
.IP *
|
.IP *
|
||||||
.BR timer_delete (2):
|
.BR timer_delete (2):
|
||||||
Disarm and delete a timer.
|
Disarm and delete a timer.
|
||||||
.PP
|
|
||||||
|
Since Linux 3.10, the
|
||||||
|
.IR /proc/[pid]/timers
|
||||||
|
file can be used to list the POSIX timers for the process with PID
|
||||||
|
.IR pid .
|
||||||
|
See
|
||||||
|
.BR proc (5)
|
||||||
|
for further information.
|
||||||
|
.\"
|
||||||
|
.SS C library/kernel ABI differences
|
||||||
Part of the implementation of the POSIX timers API is provided by glibc.
|
Part of the implementation of the POSIX timers API is provided by glibc.
|
||||||
In particular:
|
In particular:
|
||||||
.IP * 3
|
.IP * 3
|
||||||
|
@ -250,14 +259,6 @@ glibc provided an incomplete user-space implementation
|
||||||
timers only) using POSIX threads,
|
timers only) using POSIX threads,
|
||||||
and current glibc falls back to this implementation on systems
|
and current glibc falls back to this implementation on systems
|
||||||
running pre-2.6 Linux kernels.
|
running pre-2.6 Linux kernels.
|
||||||
|
|
||||||
Since Linux 3.10, the
|
|
||||||
.IR /proc/[pid]/timers
|
|
||||||
file can be used to list the POSIX timers for the process with PID
|
|
||||||
.IR pid .
|
|
||||||
See
|
|
||||||
.BR proc (5)
|
|
||||||
for further information.
|
|
||||||
.SH EXAMPLE
|
.SH EXAMPLE
|
||||||
The program below takes two arguments: a sleep period in seconds,
|
The program below takes two arguments: a sleep period in seconds,
|
||||||
and a timer frequency in nanoseconds.
|
and a timer frequency in nanoseconds.
|
||||||
|
|
Loading…
Reference in New Issue