Merge branch 'master' of https://github.com/celestinechen/fio
[fio.git] / helper_thread.h
index 78933b13253d01613b5c7996f81577aa3c8c78dd..1c8167e83b63a8f9b74a3e218e892aad1bc1b7cf 100644 (file)
@@ -1,11 +1,16 @@
 #ifndef FIO_HELPER_THREAD_H
 #define FIO_HELPER_THREAD_H
 
+#include <stdbool.h>
+
+struct fio_sem;
+struct sk_out;
+
 extern void helper_reset(void);
 extern void helper_do_stat(void);
 extern bool helper_should_exit(void);
 extern void helper_thread_destroy(void);
 extern void helper_thread_exit(void);
-extern int helper_thread_create(struct fio_mutex *, struct sk_out *);
+extern int helper_thread_create(struct fio_sem *, struct sk_out *);
 
 #endif