Main Thread Affinity Mask

where is the file to edit for the affinity mask ? because I’ve the same problem with my main thread. thanks