win32process.SetThreadIdealProcessor

int = SetThreadIdealProcessor(handle, dwIdealProcessor )

Used to specify a preferred processor for a thread. The system schedules threads on their preferred processors whenever possible.

Parameters

handle : PyHANDLE

handle to the thread of interest

dwIdealProcessor : int

ideal processor number