Completely reworked OS/2 thread implementation.

Moved wxConditionInternal from src/msw/thread.cpp to include/wx/thrimpl.cpp
        to give OS/2 the possibility to reuse the code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2003-08-17 23:32:00 +00:00
parent e08efb8dd9
commit d1bab56647
4 changed files with 517 additions and 378 deletions

View File

@@ -209,11 +209,11 @@ private:
// in order to avoid any overhead under platforms where critical sections are
// just mutexes make all wxCriticalSection class functions inline
#if !defined(__WXMSW__) && !defined(__WXPM__)
#if !defined(__WXMSW__)
#define wxCRITSECT_IS_MUTEX 1
#define wxCRITSECT_INLINE inline
#else // MSW || OS2
#else // MSW
#define wxCRITSECT_IS_MUTEX 0
#define wxCRITSECT_INLINE
@@ -257,9 +257,7 @@ private:
wxCritSectBuffer m_buffer;
};
#else
// nothing for OS/2
#endif // Unix/Win32/OS2
#endif // Unix&OS2/Win32
DECLARE_NO_COPY_CLASS(wxCriticalSection)
};