diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-18 23:24:51 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-18 23:24:51 +0000 |
commit | fabcb72a0994cd832cc1a5019123cfec35ef0b82 (patch) | |
tree | df0c126dd9fb19e6c9cd79698094f60fbfd3e2a6 /queue.h | |
parent | 2bd1e283527bae01d61b85682a7e8ecc778997a8 (diff) | |
download | rsyslog-fabcb72a0994cd832cc1a5019123cfec35ef0b82.tar.gz rsyslog-fabcb72a0994cd832cc1a5019123cfec35ef0b82.tar.xz rsyslog-fabcb72a0994cd832cc1a5019123cfec35ef0b82.zip |
saving state
Diffstat (limited to 'queue.h')
-rw-r--r-- | queue.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -79,6 +79,7 @@ typedef struct qWrkThrd_s { struct queue_s *pQueue; /* my queue (important if only the work thread instance is passed! */ int iThrd; /* my worker thread array index */ pthread_cond_t condInitDone; /* signaled when the thread startup is done (once per thread existance) */ + pthread_mutex_t mut; } qWrkThrd_t; /* type for queue worker threads */ /* the queue object */ @@ -144,6 +145,7 @@ typedef struct queue_s { pthread_mutex_t mutDA; /* mutex for low water mark algo */ pthread_cond_t condDA; /* and its matching condition */ struct queue_s *pqDA; /* queue for disk-assisted modes */ + struct queue_s *pqParent;/* pointer to the parent (if this is a child queue) */ int bDAEnqOnly; /* EnqOnly setting for DA queue */ /* now follow queueing mode specific data elements */ union { /* different data elements based on queue type (qType) */ |