diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-10-27 10:00:23 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-10-27 10:00:23 +0100 |
commit | 24cd5aee4720a98e321b69d2d9b5948348abd571 (patch) | |
tree | eae0e6eea3bc9fde8ef1bcd86d68e128ae8fafc5 /template.c | |
parent | a5cddbdbce76f14b4216aa74698bbc168ca5409f (diff) | |
download | rsyslog-24cd5aee4720a98e321b69d2d9b5948348abd571.tar.gz rsyslog-24cd5aee4720a98e321b69d2d9b5948348abd571.tar.xz rsyslog-24cd5aee4720a98e321b69d2d9b5948348abd571.zip |
fixed race condition during queue shutdown
Problems could happen if the queue worker needed to be cancelled
and this cancellation happened inside queue-code (including
wtp, wti). We have now solved this by disabling cancellation while
in this code and only enabling it when working inside the user consumer.
This exactly matches the use case for which cancellation may be needed.
Diffstat (limited to 'template.c')
0 files changed, 0 insertions, 0 deletions