From 28f769d3153cf1edd7a6554a02d7f6e21f7490cd Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 5 May 2009 12:26:54 +0000 Subject: [PATCH] switching to pthreads on 2.8 for osx as well, needed for performance reasons, since TEConverters are now guarded by a mutex, reported by Charlie Fenton from BOINC git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/thread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mac/carbon/thread.cpp b/src/mac/carbon/thread.cpp index e5fad666e6..c82ee0c1a6 100644 --- a/src/mac/carbon/thread.cpp +++ b/src/mac/carbon/thread.cpp @@ -138,8 +138,8 @@ void wxCriticalSection::Leave() #if TARGET_API_MAC_OSX #define wxUSE_MAC_SEMAPHORE_MUTEX 0 -#define wxUSE_MAC_CRITICAL_REGION_MUTEX 1 -#define wxUSE_MAC_PTHREADS_MUTEX 0 +#define wxUSE_MAC_CRITICAL_REGION_MUTEX 0 +#define wxUSE_MAC_PTHREADS_MUTEX 1 #else #define wxUSE_MAC_SEMAPHORE_MUTEX 0 #define wxUSE_MAC_CRITICAL_REGION_MUTEX 1