FTK change. Fixed issue where a thread was locking the same mutex twice.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@808 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
ahodgkinson
2006-09-01 19:55:19 +00:00
parent 3a0aefb321
commit 5a40bba976

View File

@@ -276,7 +276,8 @@ Retry:
f_mutexLock( m_hMutex);
bMutexLocked = TRUE;
pPending->Release();
pPending->Release( bMutexLocked);
if( RC_BAD( rc))
{
@@ -443,6 +444,7 @@ FLMINT F_IOBuffer::Release(
if( m_pBufferMgr && !bMutexAlreadyLocked)
{
hMutex = m_pBufferMgr->m_hMutex;
f_assertMutexNotLocked( hMutex);
f_mutexLock( hMutex);
}