attempts to make wxCondition::Broadcast() and Signal() work simultaneously - currently they do but something else doesn't

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-01-30 19:11:54 +00:00
parent 35917d228a
commit 8d5eff606a
3 changed files with 375 additions and 257 deletions

View File

@@ -99,8 +99,6 @@ public:
bool IsLocked() const { return (m_locked > 0); }
protected:
friend class wxCondition;
// no assignment operator nor copy ctor
wxMutex(const wxMutex&);
wxMutex& operator=(const wxMutex&);
@@ -237,6 +235,11 @@ public:
// wakes up all threads waiting on this condition
void Broadcast();
#ifdef __WXDEBUG__
// for debugging purposes only
void *GetId() const { return m_internal; }
#endif // __WXDEBUG__
private:
wxConditionInternal *m_internal;
};