projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1dd4c1
)
[NTOSKRNL] When acquiring BCB shared, starve exclusive waiters
author
Pierre Schweitzer
<pierre@reactos.org>
Sun, 26 Aug 2018 20:47:48 +0000
(22:47 +0200)
committer
Pierre Schweitzer
<pierre@reactos.org>
Sun, 26 Aug 2018 20:47:48 +0000
(22:47 +0200)
ntoskrnl/cc/pin.c
patch
|
blob
|
history
diff --git
a/ntoskrnl/cc/pin.c
b/ntoskrnl/cc/pin.c
index
0eaf502
..
3a0ee6e
100644
(file)
--- a/
ntoskrnl/cc/pin.c
+++ b/
ntoskrnl/cc/pin.c
@@
-188,7
+188,7
@@
CcPinMappedData (
}
else
{
- Result = ExAcquire
ResourceSharedLit
e(&iBcb->Lock, BooleanFlagOn(Flags, PIN_WAIT));
+ Result = ExAcquire
SharedStarveExclusiv
e(&iBcb->Lock, BooleanFlagOn(Flags, PIN_WAIT));
}
return Result;