X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e273151278d28cceefe6eee8c49bc6915306805d..8946ede10c2702c7acbb194fe8bd2793d7fb8358:/src/palmos/thread.cpp diff --git a/src/palmos/thread.cpp b/src/palmos/thread.cpp index 85f1b8c08a..6dbe22bb95 100644 --- a/src/palmos/thread.cpp +++ b/src/palmos/thread.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "thread.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- @@ -24,21 +20,21 @@ #pragma hdrstop #endif +#if wxUSE_THREADS + +#include "wx/thread.h" + #ifndef WX_PRECOMP #include "wx/intl.h" #include "wx/app.h" + #include "wx/module.h" #endif -#if wxUSE_THREADS - #include "wx/apptrait.h" #include "wx/palmos/private.h" #include "wx/palmos/missing.h" -#include "wx/module.h" -#include "wx/thread.h" - // must have this symbol defined to get _beginthread/_endthread declarations #ifndef _MT #define _MT @@ -416,10 +412,6 @@ void wxThread::Yield() { } -void wxThread::Sleep(unsigned long milliseconds) -{ -} - int wxThread::GetCPUCount() { return 1; @@ -561,11 +553,11 @@ void wxThreadModule::OnExit() // not a mutex, so the names are a bit confusing // ---------------------------------------------------------------------------- -void WXDLLIMPEXP_BASE wxMutexGuiEnter() +void wxMutexGuiEnterImpl() { } -void WXDLLIMPEXP_BASE wxMutexGuiLeave() +void wxMutexGuiLeaveImpl() { } @@ -595,4 +587,3 @@ bool WXDLLIMPEXP_BASE wxIsWaitingForThread() #include "wx/thrimpl.cpp" #endif // wxUSE_THREADS -