Lines Matching refs:mutex
188 // mutex which it had itself already locked
205 pthread_mutex_t mutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
206 m_mutex = mutex;
214 wxFAIL_MSG( wxT("unknown mutex type") );
249 wxFAIL_MSG( wxT("mutex deadlock prevented") );
253 wxLogDebug( wxT("pthread_mutex_lock(): mutex not initialized.") );
272 // not an error: mutex is already locked, but we're prepared for this case
276 wxLogDebug( wxT("pthread_mutex_trylock(): mutex not initialized.") );
295 // we don't own the mutex
299 wxLogDebug( wxT("pthread_mutex_unlock(): mutex not initialized.") );
352 wxFAIL_MSG( wxT("Unknown mutex type") );
371 wxLogSysError( wxT("Could not lock mutex") );
388 wxLogSysError( wxT("Could not try lock mutex") );
404 wxLogSysError( wxT("Could not unlock mutex") );
442 wxFAIL_MSG( wxT("Error when creating mutex") );
461 wxLogSysError(wxT("Could not lock mutex"));
478 wxLogSysError( wxT("Could not try lock mutex") );
494 wxLogSysError( wxT("Could not unlock mutex") );
595 wxConditionInternal( wxMutex& mutex )
597 m_mutex( mutex ),
764 wxConditionInternal( wxMutex& mutex );
788 wxConditionInternal::wxConditionInternal( wxMutex& mutex )
789 : m_mutex(mutex)
805 // after a thread increments nwaiters, and unlocks the mutex and before the
897 // XXX currently implemented as mutex in headers. Change to critical section.
1160 // if the thread we're waiting for is waiting for the GUI mutex, we will
1166 // thread might have to acquire the mutex later but before terminating