Skip to content

Commit 302dfbd

Browse files
n
Change-Id: I3f01bb25a178f04b766ee024c80665ea0976c51b
1 parent d96cb9b commit 302dfbd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/internal/runtime/proc.go

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
//go:nosplit
15+
func ProcUnpin()

0 commit comments

Comments
 (0)