Open nrc opened 7 years ago
Perhaps just change Mutex
to RwLock
? I don't expect there to a lot of parallelism: modification requests should be serialized anyway, and I think most editors (IDEA for sure) already serialize edition operations on their side.
We no longer hold the mega-lock for any file-system operations. So this is not so urgent any more. Should probably still change to RWLock.
Currently we have one lock for the whole VFS which is not very efficient.