X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=mutex.h;h=ac79dc63a6fe536f5acecc9ffd35d34bd95813b5;hp=7be0ab1b44b7c96fa4d7be645a9ff95cc9e8a0bb;hb=4cc829d1c86e1c7eab9e24ddec600bde1a541651;hpb=4d4e80f2b4260f2c8b37a8612ce655502a799f7a diff --git a/mutex.h b/mutex.h index 7be0ab1b..ac79dc63 100644 --- a/mutex.h +++ b/mutex.h @@ -15,6 +15,7 @@ struct fio_mutex { extern struct fio_mutex *fio_mutex_init(int); extern void fio_mutex_remove(struct fio_mutex *); extern void fio_mutex_down(struct fio_mutex *); +extern int fio_mutex_down_timeout(struct fio_mutex *, unsigned int); extern void fio_mutex_down_read(struct fio_mutex *); extern void fio_mutex_down_write(struct fio_mutex *); extern void fio_mutex_up(struct fio_mutex *);