diff options
author | Johannes Sixt <j6t@kdbg.org> | 2015-06-05 21:45:05 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-06-05 15:00:32 -0700 |
commit | 2024d3176536fd437b4c0a744161e96bc150a24e (patch) | |
tree | f1eae651d898a045d48cf6ecac60f22f4dff1cd4 /cache.h | |
parent | lockfile: replace random() by rand() (diff) | |
download | tgif-2024d3176536fd437b4c0a744161e96bc150a24e.tar.xz |
help.c: wrap wait-only poll() invocation in sleep_millisec()
We want to use the new function elsewhere in a moment.
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')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1680,5 +1680,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 */ |