win32process.SetThreadAffinityMask

int = SetThreadAffinityMask(hThread, ThreadAffinityMask )

Sets a processor affinity mask for a specified thread.

Parameters

hThread : PyHANDLE

handle to the thread of interest

ThreadAffinityMask : int

a processor affinity mask