diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-17 16:30:49 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-17 16:30:49 +0000 |
commit | e0df42e01467dfb70498821114b581c02184c70c (patch) | |
tree | d739e422c8f71d679c42a9137bfa92a3a3cf8a5d /queue.h | |
parent | ed0363210c34002e5cfbab553506573f5b8a13a5 (diff) | |
download | rsyslog-e0df42e01467dfb70498821114b581c02184c70c.tar.gz rsyslog-e0df42e01467dfb70498821114b581c02184c70c.tar.xz rsyslog-e0df42e01467dfb70498821114b581c02184c70c.zip |
fixed sync issue on shutdown process if need to persist pure memory queue
to disk
Diffstat (limited to 'queue.h')
-rw-r--r-- | queue.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -165,6 +165,9 @@ typedef struct queue_s { #define QUEUE_MODE_ENQDEQ 0 #define QUEUE_MODE_ENQONLY 1 +#define QUEUE_IDX_DA_WORKER 0 /* index for the DA worker (fixed) */ +#define QUEUE_PTR_DA_WORKER(x) (&((pThis)->pWrkThrds[0])) + /* the define below is an "eternal" timeout for the timeout settings which require a value. * It is one day, which is not really eternal, but comes close to it if we think about * rsyslog (e.g.: do you want to wait on shutdown for more than a day? ;)) |