Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/help.c
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2015-06-05 22:45:07 +0300
committerJunio C Hamano <gitster@pobox.com>2015-06-06 01:00:32 +0300
commit30f8160d26f11156a6792565fe694c813406b929 (patch)
treeb2b1b2e06ff0319a807242e99883d01b1cd278c3 /help.c
parenta8a17756bbc9617ba22d0c78a73fce5bb2faa6f2 (diff)
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 'help.c')
0 files changed, 0 insertions, 0 deletions