Map configs to threads