diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-02-17 15:12:54 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-02-17 15:12:54 +0100 |
commit | 39406781e51c7305cb9f35f5f9fed9c10dea9ecd (patch) | |
tree | f4c6211d310ad9485b3b63a2db825517fc8cfab4 /action.h | |
parent | c550907139b9a13e1afd771f94f46a153fde08a2 (diff) | |
download | rsyslog-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.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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); }; |