summaryrefslogtreecommitdiff
path: root/include/git2/diff.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-04-15 14:27:53 -0700
committerVicent Marti <tanoku@gmail.com>2013-04-22 16:52:07 +0200
commite976b56dda6ae3d7d81bd114b61750e97cc918d3 (patch)
treeaa06f2e71988f294a5465911009f223a9886eea0 /include/git2/diff.h
parent536078688549ac3d50483eecdec5a8169d921927 (diff)
downloadlibgit2-e976b56dda6ae3d7d81bd114b61750e97cc918d3.tar.gz
Add git__compare_and_swap and use it
This removes the lock from the repository object and changes the internals to use the new atomic git__compare_and_swap to update the _odb, _config, _index, and _refdb variables in a threadsafe manner.
Diffstat (limited to 'include/git2/diff.h')
0 files changed, 0 insertions, 0 deletions