summaryrefslogtreecommitdiffstats
path: root/LOCKS
diff options
context:
space:
mode:
authorsr2013-07-08 18:46:26 +0200
committersr2013-07-08 18:46:26 +0200
commitdc81a51d59ccf31a5b47b989060a626e97a3d709 (patch)
treebf4219d12573c91efe53ae0941dc0a95cca3caa6 /LOCKS
parentNotes about locks (diff)
downloaddnbd3-dc81a51d59ccf31a5b47b989060a626e97a3d709.tar.gz
dnbd3-dc81a51d59ccf31a5b47b989060a626e97a3d709.tar.xz
dnbd3-dc81a51d59ccf31a5b47b989060a626e97a3d709.zip
Rewriting....
Diffstat (limited to 'LOCKS')
-rw-r--r--LOCKS4
1 files changed, 4 insertions, 0 deletions
diff --git a/LOCKS b/LOCKS
index 689dd06..d6085c5 100644
--- a/LOCKS
+++ b/LOCKS
@@ -12,6 +12,10 @@ This is a list of used locks, in the order they
have to be aquired if you must hold multiple locks:
_clients_lock
_clients[].lock
+_images_lock
+_images[].lock
+_alts_lock
+
If you need to lock multiple clients at once,
lock the client with the lowest array index first.