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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user