summaryrefslogtreecommitdiff
path: root/libpod/lock/lock.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/lock/lock.go')
-rw-r--r--libpod/lock/lock.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/libpod/lock/lock.go b/libpod/lock/lock.go
index 1f94171fe..73c1fdcf7 100644
--- a/libpod/lock/lock.go
+++ b/libpod/lock/lock.go
@@ -43,9 +43,6 @@ type Locker interface {
// encounters a fatal error.
// All errors must be handled internally, as they are not returned. For
// the most part, panicking should be appropriate.
- // Some lock implementations may require that Lock() and Unlock() occur
- // within the same goroutine (SHM locking, for example). The usual Go
- // Lock()/defer Unlock() pattern will still work fine in these cases.
Lock()
// Unlock unlocks the lock.
// All errors must be handled internally, as they are not returned. For