We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d4bc3f commit f644e5bCopy full SHA for f644e5b
src/libraries/Common/tests/TestUtilities/System/PlatformDetection.cs
@@ -116,7 +116,8 @@ public static bool IsPrivilegedProcess
116
public static bool FileCreateCaseSensitive => IsCaseSensitiveOS;
117
#endif
118
119
- public static bool IsThreadingSupported => !IsWasi && IsEnvironmentVariableTrue("IsBrowserThreadingSupported");
+ public static bool IsThreadingSupported => (!IsWasi && !IsBrowser) || IsWasmThreadingSupported;
120
+ public static bool IsWasmThreadingSupported => IsBrowser && IsEnvironmentVariableTrue("IsBrowserThreadingSupported");
121
public static bool IsBinaryFormatterSupported => IsNotMobile && !IsNativeAot;
122
123
public static bool IsStartingProcessesSupported => !IsiOS && !IstvOS;
0 commit comments