Click to See Complete Forum and Search --> : Change Priority


Srinidhi
September 3rd, 1999, 12:57 AM
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.

Oleg Lobach
September 3rd, 1999, 01:11 AM
You have to use SuspendThread,SetThreadPriority,
ResumeThread sequence.

Good luck,

Oleg

Srinidhi
September 3rd, 1999, 01:15 AM
Thanx Oleg

Srini