wxMutex::~wxMutex()
{
+ if (m_locked > 0)
+ wxDebugMsg("wxMutex warning: freeing a locked mutex (%d locks)\n", m_locked);
CloseHandle(p_internal->p_mutex);
}
p_internal->prio = prio;
}
-int wxThread::GetPriority()
+int wxThread::GetPriority() const
{
return p_internal->prio;
}
return (unsigned long)p_internal->tid;
}
-bool wxThread::IsMain() const
+bool wxThread::IsMain()
{
return (GetCurrentThread() == p_mainid);
}