diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-05-15 19:59:05 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-05-15 19:59:05 +0200 |
commit | 649214be4bd9d8239787e3af7e6d877955d09e11 (patch) | |
tree | 82992d2b31d8dc388574d59f011c0b24b5f378fe /cmake | |
parent | 4af0ef9690e9fdfc81afbeed7039d02a5f191001 (diff) | |
download | libgit2-cmn/pack-cache-init.tar.gz |
pack: init the cache on packfile alloccmn/pack-cache-init
When running multithreaded, it is not enough to check for the offmap
allocation. Move the call to cache_init() to packfile allocation so we
can be sure it is always allocated free of races.
This fixes #2355.
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions