Re: is there a "process affinity" switch



"Tony" <Tony@xxxxxxxxxxx> wrote in message
news:dj0oqi$ft9$2@xxxxxxxxxxxxxxxxxxxxx
> Hi All,
>
> Please forgive my ignorance on this issue.
>
> I need my program to only run on one processor (for some
> reason, Hyperthread screws up my text writes).
>
> In a previous post, a kind person showed me the
> code to set my "process affinity." Before I go and have
> this coded into the program, I wanted to make sure there
> was no switch in the compiler that would essentially do
> the same thing.
>
> Many thanks,
> --Tony

Since VB6 came out long before Hyperthreading, I doubt you'll find a
compiler switch. All compiler options are shown by clicking 'Project/<your
project name> Properties/Compile'

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..


.



Relevant Pages

  • Re: Uninitialized variables
    ... > In a discussion on whether or not to allow a compiler switch to set ... > unintialized variables to zero on the old CVF forum, ... > eems reals and integers have a default initialization of the largest ...
    (comp.lang.fortran)
  • Re: porting from solaris/sparc to linux/intel
    ... The usual and standard way to specify double precision is to write it ... question that you are probably using a compiler switch on the Sun to ... But if you do want to use a compiler switch ... That probably forces you to choose between fixing ...
    (comp.lang.fortran)
  • Re: settting /CLR per file in VS 2005
    ... > I was told that it is possible to set the /clr compiler switch on a ... > per file basis. ... > have a class that has managed members setting the /clr on a per file ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Another crazy new language effort - Language #42
    ... jacob navia wrote: ... different and have completely other goals as a software ... compiler. ... you just show your ignorance. ...
    (comp.lang.c)
  • Re: first time using direct access files: recl ??
    ... > linux expects this number in bytes and the unix are expecting in words ... I think this is compiler dependent more than it is OS dependent. ... employ the appropriate compiler switch to force this behaviour (e.g. on the SGI it is ...
    (comp.lang.fortran)

Loading