diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-04-22 15:23:01 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-04-22 15:23:01 (GMT) |
commit | 01402277db54d9fddaa12878f6db7f02c8d8e7ef (patch) | |
tree | 694dcf1dc464177b3e01a6043a48ccb7721e054b /src/glibext/delayed.h | |
parent | 40c139384b25e89f9308f0d493e1c9ff0318a3cb (diff) |
Ensured all tasks are completed before exiting batch mode.
Diffstat (limited to 'src/glibext/delayed.h')
-rw-r--r-- | src/glibext/delayed.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glibext/delayed.h b/src/glibext/delayed.h index ab43640..340a298 100644 --- a/src/glibext/delayed.h +++ b/src/glibext/delayed.h @@ -107,6 +107,9 @@ bool g_work_queue_is_empty(GWorkQueue *, wgroup_id_t); /* Attend que toutes les tâches d'un groupe soient traitées. */ void g_work_queue_wait_for_completion(GWorkQueue *, wgroup_id_t); +/* Attend que toutes les tâches de tout groupe soient traitées. */ +void g_work_queue_wait_for_all_completions(GWorkQueue *); + /* Etudie le besoin d'attendre d'avantage de prochaines tâches. */ typedef bool (* wait_for_incoming_works_cb) (GWorkQueue *, wgroup_id_t, void *); |