From: m on 15 Sep 2009 19:51 Empirical evidence suggests that this API interacts with the scheduler to affect the affinity change immediately. "G�nter Prossliner" <nospam(a)spam.com> wrote in message news:eaaozgeNKHA.4964(a)TK2MSFTNGP06.phx.gbl... > Hallo m! > >> Set the thread affinity at the start of the block and restore it at >> the end. Look at SetThreadAffinityMask in MSDN: > > Does the Thread give up this quantum when it's not currently running on a > Thread set in the Mask, or is e.g. a Sleep(0) required to manually give up > the Quantum on the "wrong" CPU? > > > GP >
First
|
Prev
|
Pages: 1 2 Prev: A bug in GetProcAddress? Next: Trouble with hidpi.h from WDK, trying to use WiiYourself |