Lines Matching refs:mDNS_busy
3836 // Normally, mDNS_reentrancy is zero and so is mDNS_busy
3837 // However, when we call a client callback mDNS_busy is one, and we increment mDNS_reentrancy too
3838 // If that client callback does mDNS API calls, mDNS_reentrancy and mDNS_busy will both be one
3839 // If mDNS_busy != mDNS_reentrancy that's a bad sign
3840 if (m->mDNS_busy != m->mDNS_reentrancy)
3841 LogFatalError("%s: mDNS_Lock: Locking failure! mDNS_busy (%ld) != mDNS_reentrancy (%ld)", functionname, m->mDNS_busy, m->mDNS_reentrancy);
3845 if (m->mDNS_busy == 0)
3854 LogMsg("%s: mDNS_Lock: m->mDNS_busy is %ld but m->timenow not set", functionname, m->mDNS_busy);
3867 // Increment mDNS_busy so we'll recognise re-entrant calls
3868 m->mDNS_busy++;
3999 // Decrement mDNS_busy
4000 m->mDNS_busy--;
4003 if (m->mDNS_busy != m->mDNS_reentrancy)
4004 LogFatalError("%s: mDNS_Unlock: Locking failure! mDNS_busy (%ld) != mDNS_reentrancy (%ld)", functionname, m->mDNS_busy, m->mDNS_reentrancy);
4007 if (m->mDNS_busy == 0)