mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 05:42:57 +00:00
increase mouse thread priority - patch by w3seek
should fix 1427 svn path=/trunk/; revision=21984
This commit is contained in:
parent
caac5ed1fc
commit
5d2d31ac0c
1 changed files with 6 additions and 0 deletions
|
@ -176,6 +176,9 @@ MouseThreadMain(PVOID StartContext)
|
||||||
FILE_SYNCHRONOUS_IO_ALERT);
|
FILE_SYNCHRONOUS_IO_ALERT);
|
||||||
} while (!NT_SUCCESS(Status));
|
} while (!NT_SUCCESS(Status));
|
||||||
|
|
||||||
|
KeSetPriorityThread(&PsGetCurrentThread()->Tcb,
|
||||||
|
LOW_REALTIME_PRIORITY + 3);
|
||||||
|
|
||||||
for(;;)
|
for(;;)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
|
@ -455,6 +458,9 @@ KeyboardThreadMain(PVOID StartContext)
|
||||||
return; //(Status);
|
return; //(Status);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
KeSetPriorityThread(&PsGetCurrentThread()->Tcb,
|
||||||
|
LOW_REALTIME_PRIORITY + 3);
|
||||||
|
|
||||||
IntKeyboardGetIndicatorTrans(KeyboardDeviceHandle,
|
IntKeyboardGetIndicatorTrans(KeyboardDeviceHandle,
|
||||||
&IndicatorTrans);
|
&IndicatorTrans);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue