Exiting the loop while someone else still might have a lock kind of defeats

the purpose of acquiring the lock ourselves

svn path=/trunk/; revision=20506
This commit is contained in:
Gé van Geldorp 2006-01-01 11:50:54 +00:00
parent 736ed18513
commit f99ca1d7c7

View file

@ -38,7 +38,6 @@ UINT RecursiveMutexEnter( PRECURSIVE_MUTEX RecMutex, BOOL ToWrite ) {
FALSE,
NULL );
ExAcquireFastMutex( &RecMutex->Mutex );
if( Status == STATUS_SUCCESS ) break;
}
RecMutex->Locked = TRUE;
RecMutex->Writer = ToWrite;