automated windows thread affinity