Fix cond_wait prototype. Thanks to ASIF Erayath Thekke Valappil
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 27 Jun 2005 15:26:07 +0000 (15:26 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 27 Jun 2005 15:26:07 +0000 (15:26 +0000)
<etv@stanford.edu>.

doc/tour.texi

index efa1166abd072dd814c565fe362883675263c240..aed36fec51cb647ae04db47fa03c59555c17e882 100644 (file)
@@ -742,7 +742,7 @@ condition after the wait completes and, if necessary, wait again.
 Initializes @var{cond} as a new condition variable.
 @end deftypefun
 
-@deftypefun void cond_wait (struct condition *@var{cond})
+@deftypefun void cond_wait (struct condition *@var{cond}, struct lock *@var{lock})
 Atomically releases @var{lock} (the monitor lock) and waits for
 @var{cond} to be signaled by some other piece of code.  After
 @var{cond} is signaled, reacquires @var{lock} before returning.