Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Apr : Process & thread priorities
| Subject: | Process & thread priorities |
| Posted by: | "Jaelani C. U." (jaelani..@gmx.net) |
| Date: | Wed, 20 Apr 2005 04:49:00 |
Hi,
I have a difficulty understanding the thread priority between processes.
Here's the scenario:
ProgA.exe:
Process priority= Normal
Thread priority= Normal
ProgB.exe:
Process priority= Normal
Thread priority= Low
Both programs are identical that do a do-nothing loop for a million times
(single threaded; same source code and compilation).
If the loop starts at the same time, which one finishes the loop first?
Thanks in advance.
_____
Jaelani