From A340 FCTM: quoting FAR121.565 as guidance..."If no more than 1 engine is shutdown on an aeroplane with 3 or more engines, the regulations permit the PIC to fly beyond the nearest suitable airport in point of time if he determines that doing so is as safe as landing at the nearest suitable airport."