There was an error while loading. Please reload this page.
1 parent d96cb9b commit 302dfbdCopy full SHA for 302dfbd
src/internal/runtime/proc.go
@@ -0,0 +1,15 @@
1
+// Copyright 2024 The Go Authors. All rights reserved.
2
+// Use of this source code is governed by a BSD-style
3
+// license that can be found in the LICENSE file.
4
+
5
+package runtime
6
7
+import _ "unsafe"
8
9
+//go:linkname ProcPin runtime.procPin
10
+//go:nosplit
11
+func ProcPin() int
12
13
+//go:linkname ProcUnpin runtime.procUnpin
14
15
+func ProcUnpin()
0 commit comments