aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/os_linux.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-08-29 16:20:48 -0400
committerRuss Cox <rsc@golang.org>2014-08-29 16:20:48 -0400
commit3a7f6646cfdc19ca4f33efe48d33eb1731b49ca8 (patch)
tree36a0e2cc28431687e20d9b49ece9f7ca7dd1f20f /src/pkg/runtime/os_linux.go
parent9a75c748367c2ff84de355b136c33760a6b6928a (diff)
downloadgo-3a7f6646cfdc19ca4f33efe48d33eb1731b49ca8.tar.xz
runtime: convert lock*.c to Go
LGTM=r, iant R=golang-codereviews, r, iant CC=dvyukov, golang-codereviews, khr https://golang.org/cl/139930043
Diffstat (limited to 'src/pkg/runtime/os_linux.go')
-rw-r--r--src/pkg/runtime/os_linux.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pkg/runtime/os_linux.go b/src/pkg/runtime/os_linux.go
index fc82382160..ba52a31e90 100644
--- a/src/pkg/runtime/os_linux.go
+++ b/src/pkg/runtime/os_linux.go
@@ -20,3 +20,5 @@ func epollctl(epfd, op, fd int32, ev unsafe.Pointer) int32
func epollwait(epfd int32, ev unsafe.Pointer, nev, timeout int32) int32
func closeonexec(fd int32)
func sched_getaffinity(pid, len uintptr, buf *uintptr) int32
+
+const stackSystem = 0