[PATCH] D78896: [Support] Add file lock/unlock functions
Serge Pavlov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 5 06:25:53 PDT 2020
sepavloff marked 7 inline comments as done.
sepavloff added inline comments.
================
Comment at: llvm/unittests/Support/Path.cpp:1937
+TEST_F(FileSystemTest, lockFile) {
+ int FD1, FD2;
----------------
labath wrote:
> Maybe a test where the second lock is taken on a separate thread, and the first lock is released while the second thread is waiting for it to become available?
Added test `lockFileThread`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78896/new/
https://reviews.llvm.org/D78896
More information about the llvm-commits
mailing list