diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-05 13:39:40 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-05 13:39:40 +0000 |
commit | 62154cdde95ad579d4b2b98f59fac4817be8a0f4 (patch) | |
tree | 29a65e0ece3080baa9015436ce0704da83d8f06e /msg.c | |
parent | e055d4921b9a53e9dfedc56bbff3a9b12400d34d (diff) | |
download | rsyslog-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); } |