[NTOSKRNL] When acquiring BCB shared, starve exclusive waiters

This commit is contained in:
Pierre Schweitzer 2018-08-26 22:47:48 +02:00
parent c1dd4c142f
commit 54f89baad4
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B

View file

@ -188,7 +188,7 @@ CcPinMappedData (
}
else
{
Result = ExAcquireResourceSharedLite(&iBcb->Lock, BooleanFlagOn(Flags, PIN_WAIT));
Result = ExAcquireSharedStarveExclusive(&iBcb->Lock, BooleanFlagOn(Flags, PIN_WAIT));
}
return Result;