From: Ben Pfaff Date: Mon, 27 Jun 2005 15:26:07 +0000 (+0000) Subject: Fix cond_wait prototype. Thanks to ASIF Erayath Thekke Valappil X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e647de5c3d678cecedad4da33bcaa6e0897976c1;p=pintos-anon Fix cond_wait prototype. Thanks to ASIF Erayath Thekke Valappil . --- diff --git a/doc/tour.texi b/doc/tour.texi index efa1166..aed36fe 100644 --- a/doc/tour.texi +++ b/doc/tour.texi @@ -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.