From 8ecb9a765e02a8b19d8fad2afa65aee2a068b01a Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 27 Aug 2014 23:32:49 -0400 Subject: 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 --- src/pkg/runtime/export_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pkg/runtime/export_test.go') 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 { -- cgit v1.3-5-g9baa