MCPcopy
hub / github.com/dropbox/godropbox / Unlock

Method Unlock

lockstore/store.go:24–24  ·  view source on GitHub ↗

Unlock unlocks the mutex that is used for the given key

(key string)

Source from the content-addressed store, hash-verified

22
23 // Unlock unlocks the mutex that is used for the given key
24 Unlock(key string)
25
26 // RLock locks the mutex for read-only that is used for the given key
27 RLock(key string)

Callers 15

internMethod · 0.65
SetMethod · 0.65
DeleteMethod · 0.65
GetMultipleMethod · 0.65
SetMethod · 0.65
SetMultipleMethod · 0.65
DeleteMethod · 0.65
ClearMethod · 0.65
tryLockMethod · 0.65
lockMethod · 0.65
unlockMethod · 0.65
DeleteMethod · 0.65

Implementers 3

_LockStoreImpcontainer/concurrent/lockstore/store.g
FileLocksys/filelock/filelock.go
_LockStoreImplockstore/store.go

Calls

no outgoing calls

Tested by 15

TestLockKeySimpleMethod · 0.52
TestLockKeySimple2Method · 0.52
testLockKeyParallelMethod · 0.52
TestLockKeyMultipleMethod · 0.52
TestSimpleMethod · 0.52
TestSharedSimpleMethod · 0.52
TestReuseSimpleMethod · 0.52
performTransitionFunction · 0.52