Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to restrict a vfp application to one core ?
Message
De
29/08/2006 10:04:15
 
 
À
29/08/2006 06:07:06
Thomas Ganss (En ligne)
Main Trend
Frankfurt, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01149272
Message ID:
01149340
Vues:
10
It's going to work like a dual processor machine. The VFP app will only run on one core.

>Hi,
>
>has anybody played around with restricting a vfp (or other) application to one core of a double core machine ?
>The relevant API functions I have found seem to be Get/SetProcessAffinityMask, with SetThreadIdealProcessor and SetThreadAffinityMask as close relatives. There also is the possibility to set the available processors manually via task manager, but wasn't there a simple startup switch to force the starting application to run on a particular core ?
>
>TIA
>
>thomas
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform