Hi all ,
Is it possible to change the priority of a thread while thread is running ? ie we create a thread with a low priority and depending on some event can we assign a higher priority to the same thread?
TIA
Srini.
Printable View
Hi all ,
Is it possible to change the priority of a thread while thread is running ? ie we create a thread with a low priority and depending on some event can we assign a higher priority to the same thread?
TIA
Srini.
You have to use SuspendThread,SetThreadPriority,
ResumeThread sequence.
Good luck,
Oleg
Thanx Oleg
Srini