summaryrefslogtreecommitdiff
path: root/action.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2012-12-07 15:57:10 +0100
committerMichael Biebl <biebl@debian.org>2012-12-07 15:57:10 +0100
commited0fad5385d95f30f7073bf3013e4ecabc4b29e4 (patch)
tree7445e112c605e9bbe04c70bf347fb4587a459d4b /action.c
parent1796f8e02b6d0bc29ab65427d2ebf97f82f41999 (diff)
downloadrsyslog-ed0fad5385d95f30f7073bf3013e4ecabc4b29e4.tar.gz
Imported Upstream version 7.2.4upstream/7.2.4
Diffstat (limited to 'action.c')
-rw-r--r--action.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/action.c b/action.c
index ca260f9..dbd4e70 100644
--- a/action.c
+++ b/action.c
@@ -429,14 +429,6 @@ actionConstructFinalize(action_t *pThis, struct cnfparamvals *queueParams)
pThis->submitToActQ = doSubmitToActionQBatch;
}
- /* we need to make a safety check: if the queue is NOT in direct mode, a single
- * message object may be accessed by multiple threads. As such, we need to enable
- * msg object thread safety in this case (this costs a bit performance and thus
- * is not enabled by default. -- rgerhards, 2008-02-20
- */
- if(cs.ActionQueType != QUEUETYPE_DIRECT)
- MsgEnableThreadSafety();
-
/* create queue */
/* action queues always (for now) have just one worker. This may change when
* we begin to implement an interface the enable output modules to request