diff options
author | Johannes Sixt <j6t@kdbg.org> | 2015-06-05 21:45:07 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-06-05 15:00:32 -0700 |
commit | 30f8160d26f11156a6792565fe694c813406b929 (patch) | |
tree | b2b1b2e06ff0319a807242e99883d01b1cd278c3 /builtin/update-server-info.c | |
parent | lockfile: convert retry timeout computations to millisecond (diff) | |
download | tgif-30f8160d26f11156a6792565fe694c813406b929.tar.xz |
lockfile: wait using sleep_millisec() instead of select()
Use the new function sleep_millisec() to delay execution for a short
time. This avoids the invocation of select() with just a timeout, but
no file descriptors. Such a use of select() is quit with EINVAL on
Windows, leading to no delay at all.
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 'builtin/update-server-info.c')
0 files changed, 0 insertions, 0 deletions