fix syntax errors in the example
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
20e44f4f27
commit
8cc1b7b526
@ -44,8 +44,8 @@ public:
|
||||
// tell the other(s) thread(s) that we're about to terminate: we must
|
||||
// lock the mutex first or we might signal the condition before the
|
||||
// waiting threads start waiting on it!
|
||||
wxMutexLocker lock(m_mutex);
|
||||
m_condition.Broadcast(); // same as Signal() here -- one waiter only
|
||||
wxMutexLocker lock(*m_mutex);
|
||||
m_condition->Broadcast(); // same as Signal() here -- one waiter only
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user