diff options
author | Russell Belfer <rb@github.com> | 2014-04-14 12:31:17 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2014-04-17 14:56:41 -0700 |
commit | e6e8530aa6c8773dd523fd6fe07629b9481a8fee (patch) | |
tree | aed0dba8c285b5765e8fed55939e8136c31a887b /tests/diff/binary.c | |
parent | ea642d61f9b3dd3d9e1670621198483541cf4f0d (diff) | |
download | libgit2-e6e8530aa6c8773dd523fd6fe07629b9481a8fee.tar.gz |
Lock attribute file while reparsing data
I don't love this approach, but achieving thread-safety for
attribute and ignore data while reloading files would require a
larger rewrite in order to avoid this. If an attribute or ignore
file is out of date, this holds a lock on the file while we are
reloading the data so that another thread won't try to reload the
data at the same time.
Diffstat (limited to 'tests/diff/binary.c')
0 files changed, 0 insertions, 0 deletions