aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/export_test.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-08-27 23:32:49 -0400
committerRuss Cox <rsc@golang.org>2014-08-27 23:32:49 -0400
commit8ecb9a765e02a8b19d8fad2afa65aee2a068b01a (patch)
tree66f7622c0f2b2c14943c0b0c5780d00987574e03 /src/pkg/runtime/export_test.go
parent299117eca0f28b6e379c4d5b7e43e2f13cf0cd36 (diff)
downloadgo-8ecb9a765e02a8b19d8fad2afa65aee2a068b01a.tar.xz
runtime: rename Lock to Mutex
Mutex is consistent with package sync, and when in the unexported Go form it avoids having a conflcit between the type (now mutex) and the function (lock). LGTM=iant R=golang-codereviews, iant CC=dvyukov, golang-codereviews, r https://golang.org/cl/133140043
Diffstat (limited to 'src/pkg/runtime/export_test.go')
-rw-r--r--src/pkg/runtime/export_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/runtime/export_test.go b/src/pkg/runtime/export_test.go
index df6f11d671..3068fa34ba 100644
--- a/src/pkg/runtime/export_test.go
+++ b/src/pkg/runtime/export_test.go
@@ -19,12 +19,12 @@ var Fintto64 = fintto64
var F64toint = f64toint
func entersyscall()
-func golockedOSThread() bool
+func lockedOSThread() bool
func stackguard() (sp, limit uintptr)
var Entersyscall = entersyscall
var Exitsyscall = exitsyscall
-var LockedOSThread = golockedOSThread
+var LockedOSThread = lockedOSThread
var Stackguard = stackguard
type LFNode struct {