#include "wx/thread.h"
#include "wx/module.h"
#include "wx/utils.h"
+#include "wx/log.h"
enum thread_state {
STATE_IDLE = 0,
wxMutex::~wxMutex()
{
if (m_locked > 0)
- wxDebugMsg("wxMutex warning: freeing a locked mutex (%d locks)\n",
- m_locked);
+ wxLogDebug( "wxMutex warning: freeing a locked mutex (%d locks)\n", m_locked );
pthread_mutex_destroy(&(p_internal->p_mutex));
delete p_internal;
wxMainMutex = new wxMutex();
wxThreadGuiInit();
p_mainid = pthread_self();
- p_threads_list = wxList(wxKEY_INTEGER);
+// p_threads_list = wxList(wxKEY_INTEGER);
wxMainMutex->Lock();
return TRUE;