Debian Codegraph @

libgo/go/runtime/stubs_nonlinux.go

raw
1 // Copyright 2017 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 //go:build !linux
6
7 package runtime
8
9 // sbrk0 returns the current process brk, or 0 if not implemented.
10 func sbrk0() uintptr {
11 return 0
12 }
13
14 func gettid() _pid_t {
15 return 0
16 }
17
18 func tgkill(pid _pid_t, tid _pid_t, sig uint32) uint32 {
19 throw("tgkill not implemented")
20 return 0
21 }