summaryrefslogtreecommitdiffstats
path: root/msg.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-05 13:39:40 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-05 13:39:40 +0000
commit62154cdde95ad579d4b2b98f59fac4817be8a0f4 (patch)
tree29a65e0ece3080baa9015436ce0704da83d8f06e /msg.c
parente055d4921b9a53e9dfedc56bbff3a9b12400d34d (diff)
downloadrsyslog-62154cdde95ad579d4b2b98f59fac4817be8a0f4.tar.gz
rsyslog-62154cdde95ad579d4b2b98f59fac4817be8a0f4.tar.xz
rsyslog-62154cdde95ad579d4b2b98f59fac4817be8a0f4.zip
added the "direct" queueing mode to queue class (no queing at all)
Diffstat (limited to 'msg.c')
-rw-r--r--msg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/msg.c b/msg.c
index 3fd8949b..e8d253f0 100644
--- a/msg.c
+++ b/msg.c
@@ -157,12 +157,14 @@ static void MsgPrepareEnqueueLockingCase(msg_t *pThis)
/* ... and now the locking and unlocking implementations: */
static void MsgLockLockingCase(msg_t *pThis)
{
+ /* DEV debug only! dbgprintf("MsgLock(0x%lx)\n", (unsigned long) pThis); */
assert(pThis != NULL);
pthread_mutex_lock(&pThis->mut);
}
static void MsgUnlockLockingCase(msg_t *pThis)
{
+ /* DEV debug only! dbgprintf("MsgUnlock(0x%lx)\n", (unsigned long) pThis); */
assert(pThis != NULL);
pthread_mutex_unlock(&pThis->mut);
}