summaryrefslogtreecommitdiff
path: root/block-sha1
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-05-06 19:31:56 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-05-07 15:48:19 -0700
commitb038a61020573b1be6e5fc5b2be4485b63a9cbf1 (patch)
treeaa912176a94ea77819264969f30f905e98d1b1d6 /block-sha1
parentindex-pack: support multithreaded delta resolving (diff)
downloadtgif-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 'block-sha1')
0 files changed, 0 insertions, 0 deletions