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
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-06-24 22:21:47 +0300
committerJunio C Hamano <gitster@pobox.com>2015-06-24 22:21:47 +0300
commit510ab3f3c19566b43be02ec13c3326fa04a4a677 (patch)
tree22deebaa0dc0fc0229dd82d3fa4307d35ee84ac0 /cache.h
parent5d24b109a64827708cbe98b865aba5d51a2f7c3b (diff)
parent30f8160d26f11156a6792565fe694c813406b929 (diff)
Merge branch 'js/sleep-without-select'
Portability fix. * js/sleep-without-select: lockfile: wait using sleep_millisec() instead of select() lockfile: convert retry timeout computations to millisecond help.c: wrap wait-only poll() invocation in sleep_millisec() lockfile: replace random() by rand()
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 571c98f5e2..fe840e34a5 100644
--- a/cache.h
+++ b/cache.h
@@ -1698,5 +1698,6 @@ int stat_validity_check(struct stat_validity *sv, const char *path);
void stat_validity_update(struct stat_validity *sv, int fd);
int versioncmp(const char *s1, const char *s2);
+void sleep_millisec(int millisec);
#endif /* CACHE_H */