diff options
| author | Russell Belfer <rb@github.com> | 2013-04-15 14:27:53 -0700 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2013-04-22 16:52:07 +0200 |
| commit | e976b56dda6ae3d7d81bd114b61750e97cc918d3 (patch) | |
| tree | aa06f2e71988f294a5465911009f223a9886eea0 /src/buffer.c | |
| parent | 536078688549ac3d50483eecdec5a8169d921927 (diff) | |
| download | libgit2-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 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions
