diff options
-rw-r--r-- | libclapi/cl_mutex.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libclapi/cl_mutex.h b/libclapi/cl_mutex.h index b22484b1..561d686b 100644 --- a/libclapi/cl_mutex.h +++ b/libclapi/cl_mutex.h @@ -57,9 +57,10 @@ void cl_mutex_report(void); #define CL_MUTEX_REPORT() #endif /* End of CL_DEBUG_MUTEX */ -#define PTHREAD_MUTEX_INIT(mutex) pthread_mutex_init(mutex, NULL) -#define PTHREAD_COND_INIT(cond) pthread_cond_init(cond, NULL) -#define PTHREAD_MUTEX_DESTROY(mutex) pthread_mutex_destroy(mutex) -#define PTHREAD_COND_DESTROY(cond) pthread_cond_destroy(cond) +#define CL_MUTEX_INIT(mutex) pthread_mutex_init(mutex, NULL) +#define CL_COND_INIT(cond) pthread_cond_init(cond, NULL) +#define CL_MUTEX_DESTROY(mutex) pthread_mutex_destroy(mutex) +#define CL_COND_DESTROY(cond) pthread_cond_destroy(cond) +#define CL_COND_BROADCAST(cond) pthread_cond_broadcast(cond) #endif /* __CL_MUTEX_H__ */ |