diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-01-19 15:24:16 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-01-19 15:24:16 +0100 |
commit | 3fe63651667d3b74c2f9c97824cb9ed65913a99e (patch) | |
tree | 918889a059e7c85c351715f48adf26758df9a251 /action.h | |
parent | 4124fa03f6ce58893642342a48eee5fe0cf5d478 (diff) | |
download | rsyslog-3fe63651667d3b74c2f9c97824cb9ed65913a99e.tar.gz rsyslog-3fe63651667d3b74c2f9c97824cb9ed65913a99e.tar.bz2 rsyslog-3fe63651667d3b74c2f9c97824cb9ed65913a99e.zip |
refactor: remove very old sync.[ch] system for "abstracting" mutex access
This was a bad idea that never was used much.
Diffstat (limited to 'action.h')
-rw-r--r-- | action.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -26,7 +26,6 @@ #define ACTION_H_INCLUDED 1 #include "syslogd-types.h" -#include "sync.h" #include "queue.h" /* external data - this is to be removed when we change the action @@ -85,7 +84,7 @@ struct action_s { * processed - it is also used to detect duplicates. */ qqueue_t *pQueue; /* action queue */ - SYNC_OBJ_TOOL; /* required for mutex support */ + pthread_mutex_t mutAction; /* primary action mutex */ pthread_mutex_t mutActExec; /* mutex to guard actual execution of doAction for single-threaded modules */ uchar *pszName; /* action name (for documentation) */ DEF_ATOMIC_HELPER_MUT(mutCAS); |