diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-20 08:54:51 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-20 08:54:51 +0000 |
commit | 2eb19201b3f4be01057c1b958a077b5fb2fce107 (patch) | |
tree | 067b64859e42ff5ad903f20ec9c22bd3600eabe6 /plugins/immark/immark.c | |
parent | 02a46ee6b0b7f326dc0affd2caae961e09bf9a3b (diff) | |
download | rsyslog-2eb19201b3f4be01057c1b958a077b5fb2fce107.tar.gz rsyslog-2eb19201b3f4be01057c1b958a077b5fb2fce107.tar.bz2 rsyslog-2eb19201b3f4be01057c1b958a077b5fb2fce107.zip |
- working on a potential race condition on the new input module interface.
See newsgroup posting for details on the issue:
http://groups.google.com/group/comp.programming.threads/msg/330b9675f17
a1ad6 I tried some mutex operations but came to the conclusion that
this does not really help. So I have now switched to plain thread
cancellation, which so far seems to be OK. Need more practical
experience with other input modules to make a final decision. Thus I
leave all code in and have just disabled the problematic code.
Diffstat (limited to 'plugins/immark/immark.c')
-rw-r--r-- | plugins/immark/immark.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/immark/immark.c b/plugins/immark/immark.c index b7b816b6..973821ad 100644 --- a/plugins/immark/immark.c +++ b/plugins/immark/immark.c @@ -68,6 +68,7 @@ typedef struct _instanceData { */ BEGINrunInput CODESTARTrunInput + thrdBlockTermination(pThrd); /* this is an endless loop - it is terminated when the thread is * signalled to do so. This, however, is handled by the framework, * right into the sleep below. |