X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e46286351dbfa7ae98e8341e4fc328b134601e87..0b8558681e8c69b749f64b891111f5ea72c04550:/src/unix/threadpsx.cpp?ds=sidebyside diff --git a/src/unix/threadpsx.cpp b/src/unix/threadpsx.cpp index eee36b4d3a..130ea38598 100644 --- a/src/unix/threadpsx.cpp +++ b/src/unix/threadpsx.cpp @@ -102,16 +102,7 @@ wxMutex::wxMutex() { p_internal = new wxMutexInternal; -#if 0 - /* I don't know where this function is supposed to exist, - and NP actually means non-portable, RR. */ - pthread_mutexattr_t attr_type; - pthread_mutexattr_settype( &attr_type, PTHREAD_MUTEX_FAST_NP ); - - pthread_mutex_init( &(p_internal->p_mutex), (const pthread_mutexattr_t*) &attr_type ); -#else pthread_mutex_init( &(p_internal->p_mutex), (const pthread_mutexattr_t*) NULL ); -#endif m_locked = 0; }