We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1deee3e commit 3dc1e40Copy full SHA for 3dc1e40
src/runtime/runtime.go
@@ -74,3 +74,14 @@ func nanotime() int64 {
74
func os_sigpipe() {
75
runtimePanic("too many writes on closed pipe")
76
}
77
+
78
+// LockOSThread wires the calling goroutine to its current operating system thread.
79
+// Stub for now
80
+// Called by go1.18 standard library on windows, see https://github.com/golang/go/issues/49320
81
+func LockOSThread() {
82
+}
83
84
+// UnlockOSThread undoes an earlier call to LockOSThread.
85
86
+func UnlockOSThread() {
87
0 commit comments