summaryrefslogtreecommitdiffstats
path: root/LOCKS
diff options
context:
space:
mode:
Diffstat (limited to 'LOCKS')
-rw-r--r--LOCKS4
1 files changed, 2 insertions, 2 deletions
diff --git a/LOCKS b/LOCKS
index d6085c5..61ce937 100644
--- a/LOCKS
+++ b/LOCKS
@@ -27,8 +27,8 @@ For example, if you hold the lock for client 10 and
you need to look up some other client. You MUST NOT
simply fetch the _clients_lock now and then iterate
over the clients until you find the one you need,
-as it violates the above order to first lock on a
-client and then the clients lock.
+as it violates the above order to first lock on the
+clients array and then the clients lock.
Instead, you need to release client 10's lock,
then lock on _clients_lock and iterate over the
clients. Now you check if you either encounter