57 #include <sys/cdefs.h>
84 #define MUTEX_TYPE_NORMAL 1
85 #define MUTEX_TYPE_ERRORCHECK 2
86 #define MUTEX_TYPE_RECURSIVE 3
89 #define MUTEX_TYPE_DEFAULT MUTEX_TYPE_NORMAL
93 #define MUTEX_INITIALIZER { MUTEX_TYPE_NORMAL, 0, NULL, 0 }
96 #define ERRORCHECK_MUTEX_INITIALIZER { MUTEX_TYPE_ERRORCHECK, 0, NULL, 0 }
99 #define RECURSIVE_MUTEX_INITIALIZER { MUTEX_TYPE_RECURSIVE, 0, NULL, 0 }