Re: Make the git codebase thread-safe
- From
- Stefan Zager <szager@google.com>
- Date
- Feb 14, 2014, 21:49 UTC
- Message-ID
- <CAHOQ7J9QFWAY+12RSwgp3a6VwSOWnwRsP=R8Tf2JA2yG+Ay84Q@mail.gmail.com>
- In-Reply-To
- <52FE68C9.3060403@gmail.com>
On Fri, Feb 14, 2014 at 11:04 AM, Karsten Blees <karsten.blees@gmail.com> wrote:
> > Damn...you're right, multi-threaded git-index-pack works fine, but some tests fail badly. Mixed reads would have to be from git_mmap, which is the only other caller of pread().
msysgit used git_mmap() as defined in compat/win32mmap.c, which does not use pread.
Stefan