aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cubeb_utils_unix.h
diff options
context:
space:
mode:
authorAlex Chronopoulos <[email protected]>2016-08-02 19:41:42 +0300
committerAlex Chronopoulos <[email protected]>2016-08-03 13:26:10 +0300
commit17242383a9e08f2be634b1fb60ebb76866e29c18 (patch)
tree33aca377c9d3074550549dc2f5c2239ff40cd764 /src/cubeb_utils_unix.h
parent15dc54f87bbaa4f1357e257b0c003d46191c5cc8 (diff)
downloadcubeb-17242383a9e08f2be634b1fb60ebb76866e29c18.tar.gz
cubeb-17242383a9e08f2be634b1fb60ebb76866e29c18.zip
Missing update from gecko
Diffstat (limited to 'src/cubeb_utils_unix.h')
-rw-r--r--src/cubeb_utils_unix.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/cubeb_utils_unix.h b/src/cubeb_utils_unix.h
index 72041f5..643306e 100644
--- a/src/cubeb_utils_unix.h
+++ b/src/cubeb_utils_unix.h
@@ -20,11 +20,7 @@ public:
{
pthread_mutexattr_t attr;
pthread_mutexattr_init(&attr);
-#ifdef DEBUG
- pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK);
-#else
- pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL);
-#endif
+ pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
#ifdef DEBUG
int r =