aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-05-18 18:43:16 +0200
committerFlorian Weimer <fweimer@redhat.com>2020-05-20 15:21:53 +0200
commit5b9b177bf62bcdaf42255f88ad9ebf090528c5e1 (patch)
tree2d0cdb63104ac999675a55cebe1225e2d86e28af
parent4c4fc04826c2e02635c65163efb1244148735c41 (diff)
downloadglibc-5b9b177bf62bcdaf42255f88ad9ebf090528c5e1.tar
glibc-5b9b177bf62bcdaf42255f88ad9ebf090528c5e1.tar.gz
glibc-5b9b177bf62bcdaf42255f88ad9ebf090528c5e1.tar.bz2
glibc-5b9b177bf62bcdaf42255f88ad9ebf090528c5e1.zip
manual: Add missing section and node for clockid_t wait functions
Without this, these functions appear under the node Default Thread Attributes, which is confusing. Eventually, the documentation should be merged with the (yet to be documented) standardized functions. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
-rw-r--r--manual/threads.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/manual/threads.texi b/manual/threads.texi
index 0858ef8f92..a425635179 100644
--- a/manual/threads.texi
+++ b/manual/threads.texi
@@ -625,6 +625,8 @@ the standard.
@menu
* Default Thread Attributes:: Setting default attributes for
threads in a process.
+* Waiting with Explicit Clocks:: Functions for waiting with an
+ explicit clock specification.
@end menu
@node Default Thread Attributes
@@ -669,6 +671,12 @@ The system does not have sufficient memory.
@end table
@end deftypefun
+@node Waiting with Explicit Clocks
+@subsubsection Functions for Waiting According to a Specific Clock
+
+@Theglibc{} provides several waiting functions that expect an explicit
+@code{clockid_t} argument.
+
@comment semaphore.h
@comment POSIX-proposed
@deftypefun int sem_clockwait (sem_t *@var{sem}, clockid_t @var{clockid},