summaryrefslogtreecommitdiffstats
path: root/action.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-06-24 14:01:05 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-06-24 14:01:05 +0200
commit0d721450eb9dca0cc5051c7ac9d2570685cce7e5 (patch)
tree9ad4f4e81aeeaa8cb7379c7c9b407fd97723b029 /action.h
parent31fae7b93d7aa94b7b3fcbfdf101328230ea6302 (diff)
downloadrsyslog-0d721450eb9dca0cc5051c7ac9d2570685cce7e5.tar.gz
rsyslog-0d721450eb9dca0cc5051c7ac9d2570685cce7e5.tar.xz
rsyslog-0d721450eb9dca0cc5051c7ac9d2570685cce7e5.zip
added missing support for systems without atomic instructions
Diffstat (limited to 'action.h')
-rw-r--r--action.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/action.h b/action.h
index d313a6e3..0c86ef88 100644
--- a/action.h
+++ b/action.h
@@ -89,6 +89,7 @@ struct action_s {
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);
};