mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
d0b1ad675d
Summary: I'd misunderstood the point of SharedMutex's upgrade locks - unless they're used in rare paths, they don't allow for increased concurrency. This diff and D7885245 remove all of Eden's ulocks, replacing them with a helper which checks once with an rlock held, and if the check fails, switches to a wlock (and checks again). Reviewed By: yfeldblum Differential Revision: D7886046 fbshipit-source-id: 545bb0dbb4898cbb71412efc6222ef12e4ee374e |
||
---|---|---|
.. | ||
cli | ||
docs | ||
fs | ||
hooks | ||
integration | ||
py | ||
scripts | ||
third-party | ||
AUTODEPS | ||
DEFS | ||
Eden.project.toml |