#include "gdk/gdk.h"
#include "gtk/gtk.h"
-enum thread_state
+enum thread_state
{
STATE_IDLE = 0,
STATE_RUNNING,
wxMutexError wxMutex::Unlock()
{
if (m_locked == 0)
- return wxMUTEX_UNLOCKED;
+ return wxMUTEX_UNLOCKED;
release_lock(&(p_internal->p_mutex));
m_locked--;
return wxMUTEX_NO_ERROR;
IMPLEMENT_DYNAMIC_CLASS(wxThreadModule, wxModule)
-bool wxThreadModule::OnInit()
+bool wxThreadModule::OnInit()
{
wxMainMutex = new wxMutex();
wxThreadGuiInit();