summaryrefslogtreecommitdiff
path: root/src/glibext/delayed-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-11-11 21:00:05 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-11-11 21:00:05 (GMT)
commit0727204e36e919f06e80181482981c3f19669d76 (patch)
treeada49befbc7d91d21623f5221a2f7001d4b741a2 /src/glibext/delayed-int.h
parentdc49b249f21c1c8582b9ca8debdd5fbdd15eadae (diff)
Prepared the next generation of parallel processings.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@606 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/glibext/delayed-int.h')
-rw-r--r--src/glibext/delayed-int.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glibext/delayed-int.h b/src/glibext/delayed-int.h
index acef7d7..ecd9b4e 100644
--- a/src/glibext/delayed-int.h
+++ b/src/glibext/delayed-int.h
@@ -43,8 +43,6 @@ struct _GDelayedWork
DL_LIST_ITEM(link); /* Lien vers les maillons */
- run_task_fc run; /* Traitement externalisé */
-
bool completed; /* Fin de la tâche ? */
GMutex mutex; /* Accès à la variable */
GCond cond; /* Attente de changement */
@@ -56,6 +54,8 @@ struct _GDelayedWorkClass
{
GObjectClass parent; /* A laisser en premier */
+ run_task_fc run; /* Traitement externalisé */
+
/* Signaux */
void (* work_completed) (GDelayedWork *);