From: Vadim Zeitlin Date: Sat, 6 May 2006 17:29:16 +0000 (+0000) Subject: mention that Wait() relocks the mutex before returning (patch 1482390) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ddca12cfd9c965963eb63751252000d03a12d9da?hp=3affcd078b1dc6d92cd06f18b5cc4c41a33161ea mention that Wait() relocks the mutex before returning (patch 1482390) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/conditn.tex b/docs/latex/wx/conditn.tex index c39e2c1689..1c31d62d80 100644 --- a/docs/latex/wx/conditn.tex +++ b/docs/latex/wx/conditn.tex @@ -172,7 +172,8 @@ Waits until the condition is signalled. This method atomically releases the lock on the mutex associated with this condition (this is why it must be locked prior to calling Wait) and puts the thread to sleep until \helpref{Signal}{wxconditionsignal} or -\helpref{Broadcast}{wxconditionbroadcast} is called. +\helpref{Broadcast}{wxconditionbroadcast} is called. It then locks the mutex +again and returns. Note that even if \helpref{Signal}{wxconditionsignal} had been called before Wait without waking up any thread, the thread would still wait for another one