removed deadlock potential from test code
This commit is contained in:
1 parent
8db3d7391b
commit
deb1fe8c7c
1 file changed
+1
-1
@@ -1406,9 +1406,9 @@ static void multiSubscrDestroyLateNoCallbackTest ( const char *pName, unsigned i
|
||||
epicsMutexUnlock ( pTestData->m_mutex );
|
||||
}
|
||||
for ( j=0; j < multiSubscrDestroyLateNoCallbackEventCount; j++ ) {
|
||||
SEVCHK ( ca_clear_event ( pTestData->m_eventData[j].m_id ) , NULL );
|
||||
epicsMutexLockStatus lockStatus = epicsMutexLock ( pTestData->m_mutex );
|
||||
verify ( lockStatus == epicsMutexLockOK );
|
||||
SEVCHK ( ca_clear_event ( pTestData->m_eventData[j].m_id ) , NULL );
|
||||
pTestData->m_eventData[j].m_callbackIsOk = FALSE;
|
||||
epicsMutexUnlock ( pTestData->m_mutex );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user