diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-06-24 22:21:47 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-06-24 22:21:47 +0300 |
commit | 510ab3f3c19566b43be02ec13c3326fa04a4a677 (patch) | |
tree | 22deebaa0dc0fc0229dd82d3fa4307d35ee84ac0 /cache.h | |
parent | 5d24b109a64827708cbe98b865aba5d51a2f7c3b (diff) | |
parent | 30f8160d26f11156a6792565fe694c813406b929 (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |