Add code to detect a task that exited prior to up'ing the startup mutex
[fio.git] / mutex.h
diff --git a/mutex.h b/mutex.h
index 7be0ab1b44b7c96fa4d7be645a9ff95cc9e8a0bb..ac79dc63a6fe536f5acecc9ffd35d34bd95813b5 100644 (file)
--- 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 *);