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
This commit is contained in:
Vadim Zeitlin 2006-05-06 17:29:16 +00:00
parent 3affcd078b
commit ddca12cfd9

View File

@ -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