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 9169d81 commit 9bb3bb4Copy full SHA for 9bb3bb4
test/Concurrency/Runtime/actor_recursive_deinit.swift
@@ -28,6 +28,10 @@ import WinSDK
28
typealias ThreadID = UInt32
29
func getCurrentThreadID() -> ThreadID { GetCurrentThreadId() }
30
func equalThreadIDs(_ a: ThreadID, _ b: ThreadID) -> Bool { a == b }
31
+#elseif os(WASI)
32
+typealias ThreadID = UInt32
33
+func getCurrentThreadID() -> ThreadID { 0 }
34
+func equalThreadIDs(_ a: ThreadID, _ b: ThreadID) -> Bool { a == b }
35
#endif
36
37
var mainThread: ThreadID?
0 commit comments