diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-26 13:42:52 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-26 13:42:52 +0200 |
commit | d88803c8e471b0b822108106137f5383c7efd57e (patch) | |
tree | f8da7e5eb6998f304050afaf28e47ec164dcbf0a /runtime/msg.h | |
parent | 464dcf2339634a2cda0244011abe7ed8f6ed2fe5 (diff) | |
download | rsyslog-d88803c8e471b0b822108106137f5383c7efd57e.tar.gz rsyslog-d88803c8e471b0b822108106137f5383c7efd57e.tar.xz rsyslog-d88803c8e471b0b822108106137f5383c7efd57e.zip |
got rid of the recursive requirement for msg_t mutex (finally!)
Diffstat (limited to 'runtime/msg.h')
-rw-r--r-- | runtime/msg.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/msg.h b/runtime/msg.h index 4bfc1e3f..56ba5b80 100644 --- a/runtime/msg.h +++ b/runtime/msg.h @@ -168,14 +168,14 @@ rsRetVal MsgEnableThreadSafety(void); /* TODO: remove these five (so far used in action.c) */ char *getMSG(msg_t *pM); char *getHOSTNAME(msg_t *pM); -char *getPROCID(msg_t *pM); -char *getAPPNAME(msg_t *pM); +char *getPROCID(msg_t *pM, bool bLockMutex); +char *getAPPNAME(msg_t *pM, bool bLockMutex); int getMSGLen(msg_t *pM); char *getHOSTNAME(msg_t *pM); int getHOSTNAMELen(msg_t *pM); -char *getProgramName(msg_t *pM); -int getProgramNameLen(msg_t *pM); +char *getProgramName(msg_t *pM, bool bLockMutex); +int getProgramNameLen(msg_t *pM, bool bLockMutex); uchar *getRcvFrom(msg_t *pM); /* The MsgPrepareEnqueue() function is a macro for performance reasons. |