Program to run a program on 1 CPU

Program to run a program on 1 CPU

Post by Dave Harm » Thu, 02 Oct 2003 19:52:09


Fpi,

Recently accounced - see
http://www.yqcomputer.com/

Dave

Dave Harms
XXXX@XXXXX.COM

Subscription Sale On Now! 1 yr regular $95, now $79.95
http://www.yqcomputer.com/

In-depth Clarion articles, news, tips & tricks
Plus the Clarion Online Archives!
Clarion Magazine: http://www.yqcomputer.com/
 
 
 

Program to run a program on 1 CPU

Post by FPI » Fri, 03 Oct 2003 00:38:58

Hi,

I search a program to force my application to be run on only one CPU in a
multi CPU server W2K TSE.

(In the goal to resolve the 1194 topspeed error)

Could you help me ?

FPI

 
 
 

Program to run a program on 1 CPU

Post by Paul Attry » Fri, 03 Oct 2003 03:13:52

FPI spoke thusly on 10/1/2003 08:38:

Look in MSDN
Call GetSystemInfo() to determine how many CPU's the machine has.
Call SetProcessAffinityMask() to specify how many CPU's your s/w should use

--
Paul Attryde
www.attryde.com/clarion
(Look at ORGANISATION field in header for correct email address)