diff options
author | Sami Kerola | 2015-02-10 00:18:09 +0100 |
---|---|---|
committer | Karel Zak | 2015-03-05 10:31:01 +0100 |
commit | 378543e13f93c522b976efddd1610a19a6601b1c (patch) | |
tree | 38467867c9467eb6cc23b91516be9364ef74bb7c /sys-utils/tunelp.c | |
parent | flock: add --verbose option (diff) | |
download | kernel-qcow2-util-linux-378543e13f93c522b976efddd1610a19a6601b1c.tar.gz kernel-qcow2-util-linux-378543e13f93c522b976efddd1610a19a6601b1c.tar.xz kernel-qcow2-util-linux-378543e13f93c522b976efddd1610a19a6601b1c.zip |
flock: improve timeout handling
Signal ALRM raised by the timer, and the timer only, will be considered
as a timeout criteria.
Secondly time interval is made to use monotonic clock. Documentation of
ITIMER_REAL is unclear whether that time is affected various sources of
clock skew, or does it even tick when system is suspended.
Reviewed-by: Karel Zak <kzak@redhat.com>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/tunelp.c')
0 files changed, 0 insertions, 0 deletions