1. set thread priority of threads produced with kernel_thread() in kernel mode
2. kernel mode thread creation and priority setting
i was experimenting with creating a kernel mode thread
and setting its priority to the maximum since i want the thread to get the
max time slice. i tried the following approach ---
1) used PsCreateSystemThread to create a thread in the system process
2) the driver init routine then waits for the thread to initialize and when
the thread has gotten its PKTHREAD variable after a call to
KeGetCurrentThread
3) the driver init routine then uses this PKTHREAD to set priority using
KeSetThreadPriority and the HIGHEST_PRIORITY flag.
well, this is what i did, but when i call KeSetThreadPriority my system
locks up :(. i want to know what i am doing wrong and would like a solution
so that my thread can run with the highest priority in the system getting
most of the time slice.
thanks
amit
3. User Mode Thread vs Kernel Mode Thread
4. Multi-threaded does debugger get priority of lower priority threads?
5. How to setting "Thread Priority" for sql-server-thread.
6. pthread is user mode thread, right?How can I create a kernel thread?
7. Thread priority setting for SCHED_RR and SCHED_FIFO does not work as expected on Linux Kernel 2.6
8. Thread Priority setting for SCHED_RR and SCHED_FIFO does not work as expected on Linux Kernel 2.6
9. reliable way to set a kernel thread priority
10. Setting kernel thread priority
11. get real/unmanaged/kernel thread ID (not managed thread ID) for a thread
12. get real/unmanaged/kernel thread ID (not managed thread ID) for a thread
13. CDO & threading : Cannot change thread mode after it is set.
14. Threads: does Thread.start() atomically set Thread.__started ?