Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to restrict a vfp application to one core ?
Message
From
29/08/2006 10:04:15
 
 
To
29/08/2006 06:07:06
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01149272
Message ID:
01149340
Views:
9
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform