Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
_mutex-dce.h
Go to the documentation of this file.
1
32#if defined (_RWSTD_NO_DCE_PTHREAD_H)
33# include <pthread.h>
34#else
35# include <dce/pthread.h>
36#endif
37
38#define _RWSTD_MUTEX_INIT(mutex) \
39 pthread_mutex_init (&mutex, pthread_mutexattr_default)
40#define _RWSTD_MUTEX_DESTROY(mutex) pthread_mutex_destroy (&mutex)
41#define _RWSTD_MUTEX_LOCK(mutex) pthread_mutex_lock (&mutex)
42#define _RWSTD_MUTEX_UNLOCK(mutex) pthread_mutex_unlock (&mutex)
43#define _RWSTD_MUTEX_T pthread_mutex_t