diff options
author | 2015-06-05 21:45:06 +0200 | |
---|---|---|
committer | 2015-06-05 15:00:32 -0700 | |
commit | a8a17756bbc9617ba22d0c78a73fce5bb2faa6f2 (patch) | |
tree | cc3df216bb692a07c64ea3c759a32bf9151f094e /compat/pread.c | |
parent | help.c: wrap wait-only poll() invocation in sleep_millisec() (diff) | |
download | tgif-a8a17756bbc9617ba22d0c78a73fce5bb2faa6f2.tar.xz |
lockfile: convert retry timeout computations to millisecond
When the goal is to wait for some random amount of time up to one
second, it is not necessary to compute with microsecond precision.
This is a preparation to re-use sleep_millisec().
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Reviewed-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/pread.c')
0 files changed, 0 insertions, 0 deletions