simulator: set thread affinity