summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2000-12-21 12:08:30 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2000-12-21 12:08:30 +0000
commit474e63dcbf42727978325c50ba46758c51208cef (patch)
tree3883df92fcf6eb7c1ccc5e5b87b2b7e5f5dd14e1 /docs
parent429eb0ea2ee6fb29ee1add4bcc0acafa152f64d5 (diff)
downloadATCD-474e63dcbf42727978325c50ba46758c51208cef.tar.gz
ChangeLogTag:Thu Dec 21 05:50:51 2000 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'docs')
-rw-r--r--docs/tutorials/016/page02.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/tutorials/016/page02.html b/docs/tutorials/016/page02.html
index 25785087c42..e84ce3853ad 100644
--- a/docs/tutorials/016/page02.html
+++ b/docs/tutorials/016/page02.html
@@ -34,7 +34,7 @@ while( the_variable != some_desired_state_or_value )
the_mutex.release();
</PRE>
Note that when <i>the_condition</i> is created, it must be given a
-reference to the mutex. That's because the wait() method will release
+reference to the mutex. That's because the wait() method will implicitly release
the mutex before waiting and reacquire it after being signaled.
</UL>
<P>
@@ -44,6 +44,7 @@ the mutex before waiting and reacquire it after being signaled.
the_mutex.acquire();
the_variable = some_new_value_or_state;
the_condition.signal() <i>OR</i> the_condition.broadcast()
+the_mutex.release();
</pre>
</UL>
</UL>