Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tinygo-org/tinygo
/ Locker
Interface
Locker
src/sync/mutex.go:158–161 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
156
}
157
158
type
Locker
interface
{
159
Lock()
160
Unlock()
161
}
162
163
// RLocker returns a Locker interface that implements
164
// the Lock and Unlock methods by calling rw.RLock and rw.RUnlock.
Callers
16
flush
Method · 0.65
Write
Method · 0.65
Write
Method · 0.65
acquire
Function · 0.65
Put
Method · 0.65
Get
Method · 0.65
Remove
Method · 0.65
minrand
Function · 0.65
flush
Method · 0.65
Write
Method · 0.65
Write
Method · 0.65
acquire
Function · 0.65
Implementers
5
PMutex
src/internal/task/pmutex-cooperative.g
Mutex
src/internal/task/mutex-cooperative.go
spinLock
src/runtime/runtime_rp2.go
fakeLocker
src/sync/cond_test.go
RWMutex
src/sync/mutex.go
Calls
no outgoing calls
Tested by
no test coverage detected