Add ->done variable to force exit when we know we are done
[fio.git] / mutex.h
diff --git a/mutex.h b/mutex.h
index 483e5f45369e9979b4ee43697ae00416fe87cc26..c4b0d8edcc3e30e635b42085b095c4bb786d2343 100644 (file)
--- a/mutex.h
+++ b/mutex.h
@@ -8,7 +8,7 @@ struct fio_sem {
        pthread_cond_t cond;
        unsigned int value;
 
-       char sem_name[32];
+       int sem_fd;
 };
 
 extern struct fio_sem *fio_sem_init(int);