Removed unnecessary lines from threadpsx
Renamed GSOCK_TRYAGAIN to GSOCK_WOULDBLOCK Added GSOCK_TIMEOUT Enabled the replacement code for timeout handling in gsocket.c Renamed some var in gsockunx & gsocket git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user