diff options
author | Russ Cox <rsc@golang.org> | 2014-08-27 23:32:49 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-08-27 23:32:49 -0400 |
commit | f01a6c5c09bcd063eaa1009c390154e37d1cc66b (patch) | |
tree | 8e56f62fb4b6e6488a4cf4b71646c3e61a52b668 /src/pkg/runtime/export_test.go | |
parent | 2753c433ac367a161dd3af60bfcd106d4340aef8 (diff) | |
download | go-f01a6c5c09bcd063eaa1009c390154e37d1cc66b.tar.gz |
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://codereview.appspot.com/133140043
Diffstat (limited to 'src/pkg/runtime/export_test.go')
-rw-r--r-- | src/pkg/runtime/export_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/runtime/export_test.go b/src/pkg/runtime/export_test.go index df6f11d67..3068fa34b 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 { |