summaryrefslogtreecommitdiffstats
path: root/action.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-02-17 15:12:54 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2011-02-17 15:12:54 +0100
commit39406781e51c7305cb9f35f5f9fed9c10dea9ecd (patch)
treef4c6211d310ad9485b3b63a2db825517fc8cfab4 /action.h
parentc550907139b9a13e1afd771f94f46a153fde08a2 (diff)
downloadrsyslog-39406781e51c7305cb9f35f5f9fed9c10dea9ecd.tar.gz
rsyslog-39406781e51c7305cb9f35f5f9fed9c10dea9ecd.tar.xz
rsyslog-39406781e51c7305cb9f35f5f9fed9c10dea9ecd.zip
bugfix: minor race condition in action.c - considered cosmetic
This is considered cosmetic as multiple threads tried to write exactly the same value into the same memory location without sync. The method has been changed so this can no longer happen.
Diffstat (limited to 'action.h')
-rw-r--r--action.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/action.h b/action.h
index 0c86ef88..e57a0acf 100644
--- a/action.h
+++ b/action.h
@@ -88,7 +88,6 @@ struct action_s {
SYNC_OBJ_TOOL; /* required for mutex support */
pthread_mutex_t mutActExec; /* mutex to guard actual execution of doAction for single-threaded modules */
uchar *pszName; /* action name (for documentation) */
- int *pbShutdownImmediate;/* to facilitate shutdown, if var is 1, shut down immediately */
DEF_ATOMIC_HELPER_MUT(mutCAS);
};