From 18be77ca58ad1a721161bbd277a02d78828689c8 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 24 Jan 2008 18:48:41 +0000 Subject: [PATCH] Fix reversal of "acquire" and "release" in Locks section. Reported by Valentin I. Spitkovsky . --- doc/reference.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/reference.texi b/doc/reference.texi index c44988c..3b28d3b 100644 --- a/doc/reference.texi +++ b/doc/reference.texi @@ -683,7 +683,7 @@ implementation in @file{lib/kernel/list.c}. A @dfn{lock} is like a semaphore with an initial value of 1 (@pxref{Semaphores}). A lock's equivalent of ``up'' is called -``acquire'', and the ``down'' operation is called ``release''. +``release'', and the ``down'' operation is called ``acquire''. Compared to a semaphore, a lock has one added restriction: only the thread that acquires a lock, called the lock's ``owner'', is allowed to -- 2.30.2