[clang] [clang][modules][deps] Add mutex as an alternative to file lock (PR #129751)

Michael Spencer via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 6 11:33:10 PST 2025


================
@@ -95,6 +96,10 @@ class DependencyScanningService {
     return SharedCache;
   }
 
+  ModuleCacheMutexes &getSharedModuleCacheMutexes() {
----------------
Bigcheese wrote:

I don't think we need shared_ptr here, the lifetime of workers is already bound to the service.

https://github.com/llvm/llvm-project/pull/129751


More information about the cfe-commits mailing list