diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-06-26 19:19:32 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-06-26 14:23:03 -0700 |
commit | c0f86547c522906da7538c0d2b7b0de608499c23 (patch) | |
tree | 10f126f7f2ee2488b50783c397be3f689786b791 /contrib/stats/mailmap.pl | |
parent | git-submodule.sh: fix filename in comment. (diff) | |
download | tgif-c0f86547c522906da7538c0d2b7b0de608499c23.tar.xz |
index-pack: Disable threading on cygwin
The Cygwin implementation of pread() is not thread-safe since, just
like the emulation provided by compat/pread.c, it uses a sequence of
seek-read-seek calls. In order to avoid failues due to thread-safety
issues, commit b038a61 disables threading when NO_PREAD is defined.
(ie when using the emulation code in compat/pread.c).
We introduce a new build variable, NO_THREAD_SAFE_PREAD, which allows
use to disable the threaded index-pack code on cygwin, in addition to
the above NO_PREAD case.
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/stats/mailmap.pl')
0 files changed, 0 insertions, 0 deletions