Parton distributions with threshold resummation