changed wxCondition API to take a reference, not pointer, to wxMutex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -53,7 +53,7 @@ private:
|
||||
int main()
|
||||
{
|
||||
wxMutex mutex;
|
||||
wxCondition condition(&mutex);
|
||||
wxCondition condition(mutex);
|
||||
|
||||
for ( int i = 0; i < 10; i++ )
|
||||
{
|
||||
@@ -90,9 +90,10 @@ None.
|
||||
|
||||
\membersection{wxCondition::wxCondition}\label{wxconditionconstr}
|
||||
|
||||
\func{}{wxCondition}{\param{wxMutex }{*mutex}}
|
||||
\func{}{wxCondition}{\param{wxMutex\& }{mutex}}
|
||||
|
||||
Default and only constructor. The {\it mutex} must be non {\tt NULL}.
|
||||
Default and only constructor. The {\it mutex} must be locked by the caller
|
||||
before calling \helpref{Wait}{wxconditionwait} function.
|
||||
|
||||
\membersection{wxCondition::\destruct{wxCondition}}
|
||||
|
||||
|
Reference in New Issue
Block a user