libostree: Add _finish() API to async progress

Since OstreeAsyncProgress queues to the mainloop, we might "lose" the
last message.  Give callers a way to force a flush.
This commit is contained in:
Colin Walters committed 2014-04-29 10:59:57 -04:00
1 parent 349083194d
commit f040c02048
4 files changed
+49 -3

No files matched your search

+2
View File
@@ -64,5 +64,7 @@ void ostree_async_progress_set_uint64 (OstreeAsyncProgress *self,
const char *key,
guint64 value);
void ostree_async_progress_finish (OstreeAsyncProgress *self);
G_END_DECLS