]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/threadpsx.cpp
Added a check for -lresolv in configure.in
[wxWidgets.git] / src / unix / threadpsx.cpp
index 75b3bff75778af1046ad249e378c425ca393443a..130ea38598be8a051c46113a8221bd8a342f98fb 100644 (file)
@@ -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;
 }