MCPcopy
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
158type 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

flushMethod · 0.65
WriteMethod · 0.65
WriteMethod · 0.65
acquireFunction · 0.65
PutMethod · 0.65
GetMethod · 0.65
RemoveMethod · 0.65
minrandFunction · 0.65
flushMethod · 0.65
WriteMethod · 0.65
WriteMethod · 0.65
acquireFunction · 0.65

Implementers 5

PMutexsrc/internal/task/pmutex-cooperative.g
Mutexsrc/internal/task/mutex-cooperative.go
spinLocksrc/runtime/runtime_rp2.go
fakeLockersrc/sync/cond_test.go
RWMutexsrc/sync/mutex.go

Calls

no outgoing calls

Tested by

no test coverage detected