summaryrefslogtreecommitdiffstats
path: root/libdimension/progress-struct.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/progress-struct.h')
-rw-r--r--libdimension/progress-struct.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdimension/progress-struct.h b/libdimension/progress-struct.h
index a71cf63..06c63be 100644
--- a/libdimension/progress-struct.h
+++ b/libdimension/progress-struct.h
@@ -35,6 +35,10 @@ struct dmnsn_progress {
/* Condition variable for waiting for a particular amount of progress */
pthread_cond_t *cond;
pthread_mutex_t *mutex;
+
+ /* Minimum waited-on value */
+ volatile double min_wait;
+ volatile double *min_waitp; /* Hack for const values */
};
#endif /* DIMENSION_IMPL_PROGRESS_STRUCT_H */