openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/rsyslog/8.1903.0-r0/rsyslog-8.1903.0/runtime/msg.c
static void preparePROCID(smsg_t* const pM, sbool bLockMutex)
    {
        if (pM->pCSPROCID == NULL)
        {
            if (bLockMutex == LOCK_MUTEX)
                MsgLock(pM);
            /* re-query, things may have changed in the mean time... */
            if (pM->pCSPROCID == NULL)
                aquirePROCIDFromTAG(pM);
            if (bLockMutex == LOCK_MUTEX)
                MsgUnlock(pM);
        }
    }
/* check if we have a procid, and, if not, try to aquire/emulate it.
     * This must be called WITHOUT the message lock being held.
     * rgerhards, 2009-06-26
     */
check if we have a procid, and, if not, try to aquire/emulate it.
This must be called WITHOUT the message lock being held.
check if we have a procid and if not try to aquire / emulate it . This must be called WITHOUT the message lock being held .
static void preparePROCID(smsg_t* const pM, sbool bLockMutex)
    {
        if (pM->pCSPROCID == NULL)
        {
            if (bLockMutex == LOCK_MUTEX)
                MsgLock(pM);
            if (pM->pCSPROCID == NULL)
                aquirePROCIDFromTAG(pM);
            if (bLockMutex == LOCK_MUTEX)
                MsgUnlock(pM);
        }
    }
static void preparePROCID ( smsg_t * const pM , sbool bLockMutex ) { if ( pM -> pCSPROCID == NULL ) { if ( bLockMutex == LOCK_MUTEX ) MsgLock ( pM ) ; if ( pM -> pCSPROCID == NULL ) aquirePROCIDFromTAG ( pM ) ; if ( bLockMutex == LOCK_MUTEX ) MsgUnlock ( pM ) ; } }
check if we have a procid, and, if not, try to aquire/emulate it.
check if we have a procid and if not try to aquire / emulate it .
/* re-query, things may have changed in the mean time... */