summaryrefslogtreecommitdiff
path: root/libpod/lock/lock.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2019-01-10 15:31:15 -0500
committerGitHub <noreply@github.com>2019-01-10 15:31:15 -0500
commit6e8aeab472154e2b1eff92683803d16af06d2b30 (patch)
tree8fb39e30a07beccc72ea2bc0ac7fe110461efaff /libpod/lock/lock.go
parentb3428d028c5c1bc5444a4f4d66d0b244e54e6c55 (diff)
parent97f5af717904709cc1f47d30ad388a3b43be3470 (diff)
downloadpodman-6e8aeab472154e2b1eff92683803d16af06d2b30.tar.gz
podman-6e8aeab472154e2b1eff92683803d16af06d2b30.tar.bz2
podman-6e8aeab472154e2b1eff92683803d16af06d2b30.zip
Merge pull request #2134 from containers/revert-2083-shm_locking_fixes
Revert "Address lingering review comments from SHM locking PR"
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