diff options
Diffstat (limited to 'src/pkg/runtime/stubs.go')
| -rw-r--r-- | src/pkg/runtime/stubs.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pkg/runtime/stubs.go b/src/pkg/runtime/stubs.go index 1f3cc16e62..793cc3acb7 100644 --- a/src/pkg/runtime/stubs.go +++ b/src/pkg/runtime/stubs.go @@ -132,9 +132,6 @@ var noequalcode uintptr // in panic.c func gothrow(s string) -func golock(x *lock) -func gounlock(x *lock) - // Return the Go equivalent of the C Alg structure. // TODO: at some point Go will hold the truth for the layout // of runtime structures and C will be derived from it (if @@ -201,6 +198,8 @@ func notetsleep(n *note, ns int64) func notewakeup(n *note) func notesleep(n *note) func noteclear(n *note) +func lock(lk *mutex) +func unlock(lk *mutex) //go:noescape func cas(ptr *uint32, old, new uint32) bool |
