/** When the OwnerLock is decremented to zero, the DoClose method is called. *ThishappensindependentlyofthelockorRefCount.IftheOwnerLock *counter!=zero,noDoCloseiscalledby<SotObject::FuzzyLock>. * *bLock-true,lock.false,unlock.
*/ void SotObject::OwnerLock(bool bLock)
{ if (bLock)
{
nOwnerLockCount++;
acquire();
} elseif (nOwnerLockCount)
{ if (0 == --nOwnerLockCount)
DoClose();
release();
}
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.