mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 08:25:48 +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,
|
FALSE,
|
||||||
NULL );
|
NULL );
|
||||||
ExAcquireFastMutex( &RecMutex->Mutex );
|
ExAcquireFastMutex( &RecMutex->Mutex );
|
||||||
if( Status == STATUS_SUCCESS ) break;
|
|
||||||
}
|
}
|
||||||
RecMutex->Locked = TRUE;
|
RecMutex->Locked = TRUE;
|
||||||
RecMutex->Writer = ToWrite;
|
RecMutex->Writer = ToWrite;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue