================
@@ -166,6 +190,18 @@ class DependencyScanningFilesystemSharedCache {
     llvm::DenseMap<llvm::sys::fs::UniqueID, const CachedFileSystemEntry *>
         EntriesByUID;
 
+    /// Filenames whose cache entry is currently being computed. A second
+    /// worker reaching the same filename will wait on the entry's condition
+    /// variable rather than racing the underlying filesystem.
+    llvm::StringMap<std::shared_ptr<InProgressEntry>> InProgressByFilename;
----------------
artemcm wrote:

Folded the maps into existing ones. Thanks.

https://github.com/llvm/llvm-project/pull/199680
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to