mutex: abstract out cond/lock pshared init
[fio.git] / mutex.h
diff --git a/mutex.h b/mutex.h
index 8c1a71118d680a34f9598e755991859174a2353a..54009bae4ae081094172da149814dcea6e4e7eec 100644 (file)
--- a/mutex.h
+++ b/mutex.h
@@ -40,4 +40,8 @@ extern void fio_rwlock_unlock(struct fio_rwlock *);
 extern struct fio_rwlock *fio_rwlock_init(void);
 extern void fio_rwlock_remove(struct fio_rwlock *);
 
+extern int mutex_init_pshared(pthread_mutex_t *);
+extern int cond_init_pshared(pthread_cond_t *);
+extern int mutex_cond_init_pshared(pthread_mutex_t *, pthread_cond_t *);
+
 #endif