summaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-12-06 17:27:37 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-12-06 17:27:37 +0100
commit42d1d27a019f25bf39c1f424cd9fb23560728c58 (patch)
treeebd6f6afb5e41bd8570ca5ca398deef518f60c8c /action.c
parent7df68798be96d38fcb17143daa2c3e2b093a8ba5 (diff)
parent27e0f06b17b59e5de7db94ec1d0e74369536373a (diff)
downloadrsyslog-42d1d27a019f25bf39c1f424cd9fb23560728c58.tar.gz
rsyslog-42d1d27a019f25bf39c1f424cd9fb23560728c58.tar.bz2
rsyslog-42d1d27a019f25bf39c1f424cd9fb23560728c58.zip
Merge branch 'v7-stable-newmsglock' into master-newmsglock
Conflicts: runtime/msg.c runtime/queue.c tools/syslogd.c
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 856488d3..ccc07061 100644
--- a/action.c
+++ b/action.c
@@ -421,14 +421,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