summaryrefslogtreecommitdiff
path: root/src/core/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/core.c')
-rw-r--r--src/core/core.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/core.c b/src/core/core.c
index b382e34..5b60384 100644
--- a/src/core/core.c
+++ b/src/core/core.c
@@ -35,6 +35,7 @@
#include "collections.h"
#include "formats.h"
+#include "global.h"
#include "params.h"
#include "processors.h"
#include "../analysis/db/keymgn.h"
@@ -61,6 +62,7 @@ bool load_all_basic_components(void)
{
static bool result = false; /* Bilan à retourner */
char *cfgdir; /* Répertoire de configuration */
+ GWorkQueue *queue; /* Singleton pour tâches */
/**
* On mémorise les passages réussis.
@@ -91,6 +93,9 @@ bool load_all_basic_components(void)
result &= g_generic_config_read(get_main_configuration());
+ queue = g_work_queue_new();
+ set_work_queue(queue);
+
result &= init_segment_content_hash_table();
result &= load_hard_coded_processors_definitions();