[PATCH] D40328: Use a single file name to represent a lock
Zachary Turner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 21 18:49:54 PST 2017
zturner added a comment.
Out of curiosity, what do we use `LockFileManager` for in LLVM, and what are you trying to use it for in this specific use case? Because of certain quirks in Windows file system semantics, lock files are in general not a robust solution most of the time -- maybe even **ever**.
If all use cases of lock files are to synchronize cross-process, why don't we just re-write `LockFileManager` to use a named mutex?
https://reviews.llvm.org/D40328
More information about the llvm-commits
mailing list