aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/os_linux64.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/os_linux64.go')
-rw-r--r--src/runtime/os_linux64.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/runtime/os_linux64.go b/src/runtime/os_linux64.go
new file mode 100644
index 0000000000..7b70d80fbe
--- /dev/null
+++ b/src/runtime/os_linux64.go
@@ -0,0 +1,17 @@
+// Copyright 2025 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+//go:build linux && !(386 || arm || mips || mipsle || (gccgo && (ppc || s390)))
+
+package runtime
+
+import (
+ "unsafe"
+)
+
+//go:noescape
+func futex(addr unsafe.Pointer, op int32, val uint32, ts *timespec, addr2 unsafe.Pointer, val3 uint32) int32
+
+//go:noescape
+func timer_settime(timerid int32, flags int32, new, old *itimerspec) int32