From 736552001db18606a990c67aa26053afd3ae57b0 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 2 May 2012 08:14:41 +1200 Subject: [PATCH] semop.2: Clarify that 'timeout' of semtimedop() is a *minimum* interval Make it clear that 'timeout' interval will be rounded up to the system clock granularity, and may overrun because of kernel scheduling delays. Signed-off-by: Michael Kerrisk --- man2/semop.2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/man2/semop.2 b/man2/semop.2 index 245465c4c..b3b1bfc91 100644 --- a/man2/semop.2 +++ b/man2/semop.2 @@ -290,6 +290,9 @@ time specified by the structure whose address is passed in the .I timeout argument. +(This sleep interval will be rounded up to the system clock granularity, +and kernel scheduling delays mean that the interval +may overrun by a small amount.) If the specified time limit has been reached, .BR semtimedop () fails with