llvm-project/clang/lib/DirectoryWatcher
Saleem Abdulrasool 5d74c43511 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
2020-10-09 20:55:57 +00:00
..
default Add missing newlines at EOF; NFC 2020-02-12 15:57:25 +00:00
linux [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
mac [DirectoryWatcher] Do not use FSEvents on non-macOS platforms 2020-04-23 10:22:28 -07:00
windows DirectoryWatcher: add an implementation for Windows 2020-10-09 20:55:57 +00:00
CMakeLists.txt [clang] DirectoryWatcher for Windows stubs (to fix build break). 2019-08-13 22:39:26 +00:00
DirectoryScanner.cpp Add missing newlines at EOF; NFC 2020-02-12 15:57:25 +00:00
DirectoryScanner.h Add missing newlines at EOF; NFC 2020-02-12 15:57:25 +00:00