diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2012-05-06 19:31:56 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-05-07 15:48:19 -0700 |
commit | b038a61020573b1be6e5fc5b2be4485b63a9cbf1 (patch) | |
tree | aa912176a94ea77819264969f30f905e98d1b1d6 /t/t6032-merge-large-rename.sh | |
parent | index-pack: support multithreaded delta resolving (diff) | |
download | tgif-b038a61020573b1be6e5fc5b2be4485b63a9cbf1.tar.xz |
index-pack: disable threading if NO_PREAD is defined
NO_PREAD simulates pread() as a sequence of seek, read, seek in
compat/pread.c. The simulation is not thread-safe because another
thread could move the file offset away in the middle of pread
operation. Do not allow threading in that case.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6032-merge-large-rename.sh')
0 files changed, 0 insertions, 0 deletions