[fpc-devel] thread priority (win32)

ik idokan at gmail.com
Tue Apr 4 12:43:17 CEST 2006

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.


On 4/4/06, Пётр Косаревский <ppkk at mail.ru> wrote:
> Does anyone know, what priority property means?
> I created two threads (both incremented/decremented the same Int64, it's not recommended behavior, is it the cause?), the first had "highest" priority, the second "lowest" (I didn't try "realtime" or "idle"). The results didn't differ from both "normal": sometimes the first was slightly ahead, sometimes the second, no visible advantage of the favored one... (I can provide source if wanted.)
> _______________________________________________
> 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