Home
last modified time | relevance | path

Searched refs:DirectoryHandle (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/DirectoryWatcher/windows/
H A DDirectoryWatcher-windows.cpp73 DirectoryWatcherWindows(HANDLE DirectoryHandle, bool WaitForInitialSync,
79 void WatcherThreadProc(HANDLE DirectoryHandle);
84 HANDLE DirectoryHandle, bool WaitForInitialSync, in DirectoryWatcherWindows() argument
90 DWORD Size = GetFinalPathNameByHandleW(DirectoryHandle, NULL, 0, 0); in DirectoryWatcherWindows()
92 Size = GetFinalPathNameByHandleW(DirectoryHandle, Buffer.get(), Size, 0); in DirectoryWatcherWindows()
113 WatcherThread = std::thread([this, DirectoryHandle]() { in DirectoryWatcherWindows()
114 this->WatcherThreadProc(DirectoryHandle); in DirectoryWatcherWindows()
141 void DirectoryWatcherWindows::WatcherThreadProc(HANDLE DirectoryHandle) { in WatcherThreadProc() argument
153 if (!ReadDirectoryChangesW(DirectoryHandle, Notifications.data(), in WatcherThreadProc()
174 (void)CloseHandle(DirectoryHandle); in WatcherThreadProc()
[all …]