mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 01:42:30 +00:00
[NTOS]
- Nikolay Myltsev: Fix incorrect balancer thread id check. See issue #5857 for more details. svn path=/trunk/; revision=54528
This commit is contained in:
parent
f88bacce5d
commit
e86ebe01cc
|
@ -216,8 +216,8 @@ MmRebalanceMemoryConsumers(VOID)
|
||||||
static BOOLEAN
|
static BOOLEAN
|
||||||
MiIsBalancerThread(VOID)
|
MiIsBalancerThread(VOID)
|
||||||
{
|
{
|
||||||
return MiBalancerThreadHandle != NULL &&
|
return (MiBalancerThreadHandle != NULL) &&
|
||||||
PsGetCurrentThread() == MiBalancerThreadId.UniqueThread;
|
(PsGetCurrentThreadId() == MiBalancerThreadId.UniqueThread);
|
||||||
}
|
}
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
|
|
Loading…
Reference in a new issue