aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/MetadataLoader.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2020-09-30 22:42:17 -0700
committerSaleem Abdulrasool <compnerd@compnerd.org>2020-10-09 20:55:57 +0000
commit5d74c435117526616d2c2665f030263b8f60da1b (patch)
tree4aba53b804d69fd64d80871fa74ea89f1dcce29b /llvm/lib/Bitcode/Reader/MetadataLoader.cpp
parentc11c20fb0036bc8f69b2028422f050ee66acbb64 (diff)
downloadllvm-5d74c435117526616d2c2665f030263b8f60da1b.zip
llvm-5d74c435117526616d2c2665f030263b8f60da1b.tar.gz
llvm-5d74c435117526616d2c2665f030263b8f60da1b.tar.bz2
DirectoryWatcher: add an implementation for Windows
This implements the directory watcher on Windows. It does the most naive thing for simplicity. ReadDirectoryChangesW is used to monitor the changes. However, in order to support interruption, we must use overlapped IO, which allows us to use the blocking, synchronous mechanism. We create a thread to post the notification to the consumer to allow the monitoring to continue. The two threads communicate via a locked queue. Differential Revision: https://reviews.llvm.org/D88666 Reviewed By: Adrian McCarthy
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions