Hi, i have a program that use 100% of all Threads of my CPU.
It become impossible to do anything else on this machine when processing.
I wan't to disabled the affinity of the first and the second for that process.
I can find a lot of example to use the first and the second, like:
;_WinAPI_SetProcessAffinityMask($hProc, 0x01) ;Set affinity for 1-st core
;_WinAPI_SetProcessAffinityMask($hProc, 0x02) ;Set affinity for 2-nd core
_WinAPI_SetProcessAffinityMask($hProc, 0x03) ;Set affinity for both cores
... but how to do the inverse?
My machine is 56 threads!
Thank you for your help.