You don't have to wait until it is processed, you only have to submit the 1040X after the original. It could be a few days, week or up to three years after the original is filed.