|
|
@ -45,8 +45,8 @@
|
|
|
|
typedef pthread_mutex_t Q_MUTEX_T;
|
|
|
|
typedef pthread_mutex_t Q_MUTEX_T;
|
|
|
|
|
|
|
|
|
|
|
|
// POSIX threads mutex types
|
|
|
|
// POSIX threads mutex types
|
|
|
|
#if ((defined(PTHREAD_MUTEX_RECURSIVE) && defined(PTHREAD_MUTEX_DEFAULT)) || \
|
|
|
|
#if (defined(PTHREAD_MUTEX_RECURSIVE) && defined(PTHREAD_MUTEX_DEFAULT)) && \
|
|
|
|
defined(Q_OS_FREEBSD)) && !defined(Q_OS_UNIXWARE) && !defined(Q_OS_SOLARIS) && \
|
|
|
|
!defined(Q_OS_UNIXWARE) && !defined(Q_OS_SOLARIS) && \
|
|
|
|
!defined(Q_OS_MAC)
|
|
|
|
!defined(Q_OS_MAC)
|
|
|
|
// POSIX 1003.1c-1995 - We love this OS
|
|
|
|
// POSIX 1003.1c-1995 - We love this OS
|
|
|
|
# define Q_MUTEX_SET_TYPE(a, b) pthread_mutexattr_settype((a), (b))
|
|
|
|
# define Q_MUTEX_SET_TYPE(a, b) pthread_mutexattr_settype((a), (b))
|
|
|
|