[fpc-devel] thread priority (win32)

ik idokan at gmail.com
Tue Apr 4 13:52:31 CEST 2006

It's been a while since I developed for Windows, so I do not know if
the following function is deprecated or not, or even will work on all
Windows versions:

You can set the process priority at runtime as far as I remember
(please take a look at MSDN for better information :)).


On 4/4/06, Пётр Косаревский <ppkk at mail.ru> wrote:
> > The Windows Kernel works in a priority level of program execution
> > (main process) and sub processes (child process).
> > Each priority tells Windows what queue to place the processes.
> > If your parent process is "Norma" then the child process does not have
> > effect except that it's priority on executing will be higher when
> > executing the parent process.
> > If I understand your question, I hope that will answer it.
> > Ido
> Thank you.
> Do you know, what can I do
> either start thread (through some hack?) with other priority
> or change the priority of the main application (by FPC? or should I use WinAPI "directly"?)
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel

More information about the fpc-devel mailing list