Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting the windows 2000 process priority
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00601173
Message ID:
00602485
Views:
32
>>Eylon,
>>Try closing the handle, reopening it and checking the priority again. It may be that the change doesn't take place until the thread is closed.
>Larry,
>Nope - that didn't help. Besides - why should it?
>TNXS, Eylon

It was just a guess.

Like records where data is not written until the information is committed, it could be the OS doesn't acknowledge changes to threads until the handle is closed. If, for whatever reason, you set the priority of a thread/process and then reset it back to what it was at the beginning of the operation, the OS shouldn't need to see what you did in the intermediate time.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform