mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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
This commit is contained in:
parent
299117eca0
commit
8ecb9a765e
31 changed files with 96 additions and 106 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue