summaryrefslogtreecommitdiff
path: root/builtin/update-server-info.c
diff options
context:
space:
mode:
authorLibravatar Johannes Sixt <j6t@kdbg.org>2015-06-05 21:45:07 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-06-05 15:00:32 -0700
commit30f8160d26f11156a6792565fe694c813406b929 (patch)
treeb2b1b2e06ff0319a807242e99883d01b1cd278c3 /builtin/update-server-info.c
parentlockfile: convert retry timeout computations to millisecond (diff)
downloadtgif-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