X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=mutex.h;h=54009bae4ae081094172da149814dcea6e4e7eec;hp=8c1a71118d680a34f9598e755991859174a2353a;hb=d25f5ae81c4a5dedf4f5c5a2323a20fe77e5b86f;hpb=66608372288ecfe94abbc4b12a89b5c18071897f diff --git a/mutex.h b/mutex.h index 8c1a7111..54009bae 100644 --- 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