The guy in the A-340 won't be on his own (unless the captain has gone to the loo for a couple of mins) - only where there is a third flight crew member (sometimes
AFAIK cruise qualified only) because the flight is about 10 hours will the captain go for a kip. The rules are set out in CAP371.