aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2015-06-05 21:45:07 +0200
committerJunio C Hamano <gitster@pobox.com>2015-06-05 15:00:32 -0700
commit30f8160d26f11156a6792565fe694c813406b929 (patch)
treeb2b1b2e06ff0319a807242e99883d01b1cd278c3 /cache.h
parenta8a17756bbc9617ba22d0c78a73fce5bb2faa6f2 (diff)
downloadgit-30f8160d26f11156a6792565fe694c813406b929.tar.gz
git-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 'cache.h')
0 files changed, 0 insertions, 0 deletions