diff options
Diffstat (limited to 'locking.h')
-rw-r--r-- | locking.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -11,6 +11,8 @@ struct mutexlock { pthread_mutex_t lock; }; +#define MUTEXLOCK_INITIALIZER { .lock = PTHREAD_MUTEX_INITIALIZER } + struct rwlock { pthread_rwlock_t lock; }; |