diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-08-22 21:38:30 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-08-22 21:38:30 (GMT) |
commit | 4fb2ac107092671fe27fc3ebf9fc86dff7c3ec19 (patch) | |
tree | 92cf5860302b4ba485c85fef3062f1179a978560 /src/glibext/delayed.h | |
parent | 0f73369ad9cd15cb17ae44aadfc035cb12778b93 (diff) |
Reorganized the global variables for the work queue singleton.
Diffstat (limited to 'src/glibext/delayed.h')
-rw-r--r-- | src/glibext/delayed.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/glibext/delayed.h b/src/glibext/delayed.h index 277d958..d3e084d 100644 --- a/src/glibext/delayed.h +++ b/src/glibext/delayed.h @@ -86,17 +86,11 @@ typedef unsigned long long wgroup_id_t; #define DEFAULT_WORK_GROUP 0 -#define get_work_queue() _get_work_queue(NULL) - - /* Indique le type défini pour le gestionnaire des travaux différés. */ GType g_work_queue_get_type(void); -/* Procède au chargement du gestionnaire d'analyse différées. */ -bool init_work_queue(GtkStatusStack *); - -/* Fournit le gestionnaire de traitements parallèles courant. */ -GWorkQueue *_get_work_queue(GWorkQueue *); +/* Créé un nouveau gestionnaire de tâches parallèles. */ +GWorkQueue *g_work_queue_new(void); /* Constitue un nouveau groupe de travail. */ wgroup_id_t g_work_queue_define_work_group(GWorkQueue *); |