lowleveldesign / process-governor

This application allows you to put various limits on Windows processes.
MIT License
627 stars 62 forks source link

how assign the thread #13

Closed ragnaroks closed 4 years ago

ragnaroks commented 4 years ago

i have 16 cores(32 threads),and i executed:

how i can easy to assign the thread? or how i calculate the last value(like 0xA)?

lowleveldesign commented 4 years ago

The CPU mask is 8-bytes long, so supports up to 64 threads. In your case, if you want to enable, for example, the 31 and 0 threads, use the mask 0x80000001. Does it answer your question?