Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 7 Sucks ALL my CPU resource
Message
De
04/03/2003 22:34:57
 
 
À
03/03/2003 23:56:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00760730
Message ID:
00761331
Vues:
41
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform