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/iface.goc | |
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/iface.goc')
-rw-r--r-- | src/pkg/runtime/iface.goc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/iface.goc b/src/pkg/runtime/iface.goc index 2ac740590..440d27238 100644 --- a/src/pkg/runtime/iface.goc +++ b/src/pkg/runtime/iface.goc @@ -11,7 +11,7 @@ package runtime #include "../../cmd/ld/textflag.h" extern Itab* runtime·hash[1009]; -extern Lock runtime·ifaceLock; +extern Mutex runtime·ifaceLock; // TODO: delete this when no longer used (ifaceE2I2 is all that's left) static Itab* |