Merge branch 'rj/platform-pread-may-be-thread-unsafe' into maint
authorJunio C Hamano <gitster@pobox.com>
Wed, 11 Jul 2012 19:57:28 +0000 (12:57 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Jul 2012 19:57:28 +0000 (12:57 -0700)
commit2e1e8efcc7ec25c8253d56a9b259e711290b3572
treefa1e62f383060f1d62e6146be31547447c93d9d2
parent36c5109e4a4d455a9aa9e0f8d20c957aa6a9bef8
parentc0f86547c522906da7538c0d2b7b0de608499c23
Merge branch 'rj/platform-pread-may-be-thread-unsafe' into maint

On Cygwin, the platform pread(2) is not thread safe, just like our own
compat/ emulation, and cannot be used in the index-pack program.
Makefile variable NO_THREAD_SAFE_PREAD can be defined to avoid use of
this function in a threaded program.

* rj/platform-pread-may-be-thread-unsafe:
  index-pack: Disable threading on cygwin