Re: How to reduce the thread priority

What is the thread doing, if it is grabbing spinlocks or doing other things that raise IRQL it will not matter what priority it is. So tell us...
Re: How to reduce the thread priority
What is the thread doing, if it is grabbing spinlocks or doing other things
that raise IRQL it will not matter what priority it is. So tell us what
the thread is attempting to do.


Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply

"Sushil" <> wrote in message
news:6adb97c4-5d30-4959-84a1-…
> Hi,
> I am totally new to KMDF Windows driver development. Currently I am
> developing a driver which creates a dedicated thread in
> prepareHardware routine using PsCreateSystemThread(). After the thread
> creation the SYSTEM process CPU usage goes to 50% and system become
> very slow.
> Could anyone please tell me how to reduce the priority of the created
> thread on WinXp. I tried
> KeSetPriorityThread(KeGetCurrentThread(), LOW_REALTIME_PRIORITY ); But
> no use.
>
> Thanks in advance.
>
> regards,
> Skdeka
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 4416 (20090911) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>

__________ Information from ESET NOD32 Antivirus, version of virus signature database 4416 (20090911) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

We will be happy to hear your thoughts

Leave a reply

TechEggs
Logo