/////////////////////////////////////////////////////////////////////////////
-// Name: src/gtk/thread.cpp
+// Name: src/gtk/threadno.cpp
// Purpose: Solaris thread support
// Author: Guilhem Lavaux
// Modified by:
#ifndef WX_PRECOMP
#include "wx/log.h"
+ #include "wx/module.h"
#endif
#include "wx/wx.h"
-#include "wx/module.h"
wxMutex::wxMutex()
{
bool wxCondition::Wait(wxMutex& WXUNUSED(mutex), unsigned long WXUNUSED(sec),
unsigned long WXUNUSED(nsec))
{
- return FALSE;
+ return false;
}
void wxCondition::Signal()
bool wxThread::IsMain()
{
- return TRUE;
+ return true;
}
bool wxThread::IsRunning() const
{
- return FALSE;
+ return false;
}
bool wxThread::IsAlive() const
{
- return FALSE;
+ return false;
}
void wxThread::SetPriority(int WXUNUSED(prio)) { }
{
wxMainMutex = new wxMutex();
wxMainMutex->Lock();
- return TRUE;
+ return true;
}
void wxThreadModule::OnExit()