From 5b9b177bf62bcdaf42255f88ad9ebf090528c5e1 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 18 May 2020 18:43:16 +0200 Subject: [PATCH] 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 --- manual/threads.texi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/manual/threads.texi b/manual/threads.texi index 0858ef8..a425635 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}, -- 2.7.4