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

Function newLock

container/concurrent/lockstore/lock.go:12–16  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

10}
11
12func newLock(key string) *_LockImp {
13 return &_LockImp{
14 count: 0,
15 }
16}
17
18func (p *_LockImp) Lock() {
19 p.lock.Lock()

Callers 1

lockMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected