Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 7 Sucks ALL my CPU resource
Message
From
10/03/2003 22:53:19
 
 
To
04/03/2003 22:41:18
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00760730
Message ID:
00764053
Views:
28
Thanks Hilmar. Very useful information.

>>>Hi Bernard,
>>>
>>>>This app is meant to run on a WIN2k server and I do not want it to use ALL >the CPU resources on the server as other processes will be affected.
>>>
>>>If you are working from an NT-based OS, you can set the process priority from the task manager. This enabled me to do some "datacrunching" jobs (48-96H) in the background on a machine also needed for other tasks.
>>>
>>>If you go into "production", there are some WINAPI-calls for thread and process priority to automate this as well.
>>>
>>>HTH
>>>
>>>thomas
>>
>>
>>Yes I know you can set the process priority from the taks manager. But how do you set the process priority of an app BEFORE it is run, as then it does not appear on the task manager.
>>
>>This app is to run on the WIN2k Scheduler so I need to know how to set its process priority before it is run.
>>
>>Also could you let me know what these API's are and how to use them?
>>
>>Bernard
>
>API (application programmer's interface) is a set of functions which a program - in this case, Windows - makes available ("exposes") so that any programmer can use it.
>
>Click on the Universal Thread menu (where it says "more"), and select Windows API. If you search for descripton $ "priority", you will get several API functions related to setting and getting priorities.
>
>Hilmar.
Previous
Reply
Map
View

Click here to load this message in the networking platform