aboutsummaryrefslogtreecommitdiff
path: root/src/threading.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/threading.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/threading.h b/src/threading.h
index 24e0998..608f916 100644
--- a/src/threading.h
+++ b/src/threading.h
@@ -114,7 +114,7 @@ enum e_status { PENDING, RUNNING, WAITING, DONE, ERROR_ST, CANCELLED };
114 #endif 114 #endif
115 115
116 #define MUTEX_T pthread_mutex_t 116 #define MUTEX_T pthread_mutex_t
117 #define MUTEX_INIT(ref) pthread_mutex_init(ref,NULL) 117 #define MUTEX_INIT(ref) pthread_mutex_init(ref, nullptr)
118 #define MUTEX_RECURSIVE_INIT(ref) \ 118 #define MUTEX_RECURSIVE_INIT(ref) \
119 { pthread_mutexattr_t a; pthread_mutexattr_init( &a ); \ 119 { pthread_mutexattr_t a; pthread_mutexattr_init( &a ); \
120 pthread_mutexattr_settype( &a, _MUTEX_RECURSIVE ); \ 120 pthread_mutexattr_settype( &a, _MUTEX_RECURSIVE ); \