llvm-project/clang/lib/DirectoryWatcher
Saleem Abdulrasool 527a1821e6 DirectoryWatcher: also wait for the notifier thread
Ultimately the DirectoryWatcher is not ready until the notifier thread
is also active.  Failure to wait for the notifier thread may result in
loss of events.  While this is not catastrophic in practice, the tests
are sensitive to this as depending on the thread scheduler, the thread
may fail to being execution before the operations are completed by the
fixture.  Running this in a tight loop shows no regressions locally as
previously, but this failure mode was been sighted once on a builder.
2021-06-13 10:58:55 -07:00
..
default Add missing newlines at EOF; NFC 2020-02-12 15:57:25 +00:00
linux DirectoryWatcher-linux.cpp - add missing implicit MathExtras.h header dependency. NFCI. 2021-06-06 09:40:20 +01:00
mac [DirectoryWatcher] Do not use FSEvents on non-macOS platforms 2020-04-23 10:22:28 -07:00
windows DirectoryWatcher: also wait for the notifier thread 2021-06-13 10:58:55 -07: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