]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/threadpsx.cpp
Whole lot of stuff for new wxFileDialog
[wxWidgets.git] / src / unix / threadpsx.cpp
index eee36b4d3a2394b2771f42cda61564171567ae8c..130ea38598be8a051c46113a8221bd8a342f98fb 100644 (file)
@@ -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;
 }