summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/os_nacl.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/os_nacl.go')
-rw-r--r--src/pkg/runtime/os_nacl.go30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/pkg/runtime/os_nacl.go b/src/pkg/runtime/os_nacl.go
deleted file mode 100644
index 12a15aea0..000000000
--- a/src/pkg/runtime/os_nacl.go
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2014 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.
-
-package runtime
-
-import "unsafe"
-
-func nacl_exception_stack(p unsafe.Pointer, size int32) int32
-func nacl_exception_handler(fn, arg unsafe.Pointer) int32
-func nacl_sem_create(flag int32) int32
-func nacl_sem_wait(sem int32) int32
-func nacl_sem_post(sem int32) int32
-func nacl_mutex_create(flag int32) int32
-func nacl_mutex_lock(mutex int32) int32
-func nacl_mutex_trylock(mutex int32) int32
-func nacl_mutex_unlock(mutex int32) int32
-func nacl_cond_create(flag int32) int32
-func nacl_cond_wait(cond, n int32) int32
-func nacl_cond_signal(cond int32) int32
-func nacl_cond_broadcast(cond int32) int32
-func nacl_cond_timed_wait_abs(cond, lock int32, ts unsafe.Pointer) int32
-func nacl_thread_create(fn, stk, tls, xx unsafe.Pointer) int32
-func nacl_nanosleep(ts, extra unsafe.Pointer) int32
-
-const stackSystem = 0
-
-func os_sigpipe() {
- gothrow("too many writes on closed pipe")
-}