Implemented cpu pinning for windows