mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:56:26 +00:00
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:
parent
736ed18513
commit
f99ca1d7c7
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue