MCPcopy
hub / github.com/docker/docker-agent / lockProcess

Method lockProcess

pkg/memory/database/lock.go:127–129  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

125}
126
127func (l *FileLock) lockProcess(ctx context.Context) error {
128 return l.processLock.Lock(ctx)
129}
130
131// Unlock releases the advisory lock and closes the sentinel file descriptor.
132func (l *FileLock) Unlock() error {

Callers 1

LockMethod · 0.95

Calls 1

LockMethod · 0.45

Tested by

no test coverage detected