bool IsLocked() const { return (m_locked > 0); }
protected:
- friend class wxCondition;
-
// no assignment operator nor copy ctor
wxMutex(const wxMutex&);
wxMutex& operator=(const wxMutex&);
// 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;
};