Modified to use lock manager in toolkit.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@490 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
dsandersoremutah
2006-05-31 15:23:25 +00:00
parent f23dd3c2a9
commit 78bd30e364
21 changed files with 115 additions and 1912 deletions

View File

@@ -1259,7 +1259,7 @@ RCODE F_Database::flushLogBlocks(
}
else
{
if (m_pWriteLockObj->ThreadWaitingLock() &&
if (m_pWriteLockObj->getWaiterCount() &&
uiDirtyCacheLeft <= uiMaxDirtyCache)
{
bDone = TRUE;
@@ -4191,7 +4191,7 @@ Add_Contiguous_Block:
}
else
{
if (m_pWriteLockObj->ThreadWaitingLock() &&
if (m_pWriteLockObj->getWaiterCount() &&
*puiDirtyCacheLeft <= uiMaxDirtyCache)
{