Reset process Affinity RRS feed

  • Question

  • I am using third party library(32-bit) in my code it is setting process affinity to 32-processor, I have 40 logical processors. I am able to reset process affinity to 40 using Task Manager I confirmed new threads are allocated on all logical processors. 

    setprocessaffinitymask() will not work as i am developing 32-bit application, it can set affinity maximum to 32 cores.

    I am using Visual studio 2017 for development. Please help me resetting process affinity to all cores using c++.

    Wednesday, February 20, 2019 6:38 AM