MCPcopy
hub / github.com/tinygo-org/tinygo / Lock

Method Lock

src/sync/mutex.go:159–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157
158type Locker interface {
159 Lock()
160 Unlock()
161}
162

Callers 15

flushMethod · 0.65
WriteMethod · 0.65
WriteMethod · 0.65
acquireFunction · 0.65
PutMethod · 0.65
GetMethod · 0.65
RemoveMethod · 0.65
minrandFunction · 0.65
loadFileIdMethod · 0.65
startFunction · 0.65
taskExitedFunction · 0.65
GCStopWorldAndScanFunction · 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 2

TestCondSignalFunction · 0.52
drainMapsFunction · 0.52