[PATCH] D79066: [Support] Class to facilitate file locking

Serge Pavlov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 15 10:51:40 PDT 2020


sepavloff updated this revision to Diff 264277.
sepavloff added a comment.

Updated patch

- Free function `getLock` was replaced by `raw_fd_stream::tryToLock`,
- Removed variant of lock with timeout.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79066/new/

https://reviews.llvm.org/D79066

Files:
  llvm/include/llvm/Support/Error.h
  llvm/include/llvm/Support/FileSystem.h
  llvm/include/llvm/Support/raw_ostream.h
  llvm/lib/Support/Error.cpp
  llvm/lib/Support/raw_ostream.cpp
  llvm/unittests/Support/Path.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79066.264277.patch
Type: text/x-patch
Size: 6687 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200515/66c17cab/attachment.bin>


More information about the llvm-commits mailing list