summaryrefslogtreecommitdiffstats
path: root/queue.h
diff options
context:
space:
mode:
Diffstat (limited to 'queue.h')
-rw-r--r--queue.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/queue.h b/queue.h
index e51e670a..c9abced0 100644
--- a/queue.h
+++ b/queue.h
@@ -95,8 +95,10 @@ typedef struct queue_s {
pthread_cond_t *condSignalOnEmpty;/* caller-provided condition to be signalled when queue is empty (DA mode!) */
pthread_mutex_t *mutSignalOnEmpty; /* and its associated mutex */
pthread_cond_t *condSignalOnEmpty2;/* another condition to be signalled on empty */
- int bSignalOnEmpty; /* signal caller when queue is empty via xxxSignalOnEmpty cond/mut,
- 0 = do not, 1 = signal only condSignalOnEmpty, 2 = signal both condSig..*/
+ //int bSignalOnEmpty; /* signal caller when queue is empty via xxxSignalOnEmpty cond/mut,
+ // 0 = do not, 1 = signal only condSignalOnEmpty, 2 = signal both condSig..*/ // TODO: no longer needed?
+
+ int bChildIsDone; /* set to 1 when the child DA queue has finished processing, 0 otherwise */
int bThrdStateChanged; /* at least one thread state has changed if 1 */
/* end sync variables */
/* the following variables are always present, because they