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:
@@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user