================
@@ -50,9 +51,12 @@ enum class BuildIdKind { None, Fast, Sha1, Hexstring, Uuid };
 // and such fields have the same name as the corresponding options.
 // Most fields are initialized by the driver.
 struct Config {
+  bool isMultithreaded() const { return sharedMemory || 
componentModelThreadContext; }
----------------
sbc100 wrote:

I find this rather confusing since I normally think of multi-threading as 
absolutely requiring shared memory.

I'd need to look at how `isMultithreaded` is used, but maybe it should be more 
like `isGreenThreaded`?   I'm not sure yet.

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

Reply via email to