Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Nov : Using SetProcessorAffinityMask/SetThreadAffinityMask
| Subject: | Using SetProcessorAffinityMask/SetThreadAffinityMask |
| Posted by: | "Ronaldo Souza" (nospam@nospam.org) |
| Date: | Tue, 31 Oct 2006 21:16:14 |
Hi,
I really didn't want to mess with this stuff but, playing with
"ImageCfg", we get a nice performance boost in some machines, so here
are a few 101 questions:
Where should I call SetProcessorAffinityMask? Right after the DPR's
"begin"?
And SetThreadAffinityMask? On my constructor, should I call inherited
create(true), set the mask then resume?
Any caveats I should be aware of?
TIA,
Ronaldo