]> git.proxmox.com Git - libgit2.git/commit - src/libgit2/attrcache.h
Add diff threading tests and attr file cache locks
authorRussell Belfer <rb@github.com>
Tue, 11 Feb 2014 22:45:37 +0000 (14:45 -0800)
committerRussell Belfer <rb@github.com>
Thu, 17 Apr 2014 21:43:45 +0000 (14:43 -0700)
commit40ed499039f887ebcb0b5badf0157519148398b8
treeabf8307b9960aed3eb6911fadc26bb0627b7ecf2
parent3b4c401a38ce912d5be8c9bf4ab1c4912a4f08bd
Add diff threading tests and attr file cache locks

This adds a basic test of doing simultaneous diffs on multiple
threads and adds basic locking for the attr file cache because
that was the immediate problem that arose from these tests.
13 files changed:
src/attr.c
src/attr_file.c
src/attr_file.h
src/attrcache.h
src/config_file.c
src/diff_driver.c
src/repository.h
src/sortedcache.c
src/strmap.h
src/submodule.c
tests/clar_libgit2.h
tests/core/strmap.c
tests/threads/diff.c [new file with mode: 0644]