summaryrefslogtreecommitdiff
path: root/notes-cache.c
diff options
context:
space:
mode:
authorJeff Hostetler <jeffhost@microsoft.com>2017-03-22 17:14:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-03-22 20:41:41 (GMT)
commit0607e10009ee4e37cb49b4cec8d28a9dda1656a4 (patch)
tree1c4faeee2a69a761d2a6257fa2741750dec43723 /notes-cache.c
parentf75619bd6d21760e1da416d4e27bce6468beffcd (diff)
downloadgit-0607e10009ee4e37cb49b4cec8d28a9dda1656a4.zip
git-0607e10009ee4e37cb49b4cec8d28a9dda1656a4.tar.gz
git-0607e10009ee4e37cb49b4cec8d28a9dda1656a4.tar.bz2
hashmap: add disallow_rehash setting
Teach hashmap to allow rehashes to be suppressed. This is useful when hashmaps are accessed by multiple threads. It still requires the caller to properly manage their locking. This just prevents unexpected rehashing during inserts and deletes. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes-cache.c')
0 files changed, 0 insertions, 0 deletions