X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f439844be27aa4ec09dd1d3365ce44653291c2af..e841d48627e88f88a95f587a0afbde974adc5bf8:/src/unix/threadpsx.cpp diff --git a/src/unix/threadpsx.cpp b/src/unix/threadpsx.cpp index 75b3bff757..130ea38598 100644 --- a/src/unix/threadpsx.cpp +++ b/src/unix/threadpsx.cpp @@ -100,12 +100,9 @@ public: wxMutex::wxMutex() { - pthread_mutexattr_t attr_type; - - pthread_mutexattr_settype( &attr_type, PTHREAD_MUTEX_FAST_NP ); - p_internal = new wxMutexInternal; - pthread_mutex_init( &(p_internal->p_mutex), (const pthread_mutexattr_t*) &attr_type ); + + pthread_mutex_init( &(p_internal->p_mutex), (const pthread_mutexattr_t*) NULL ); m_locked = 0; }