In the language of dogs, the yawn is often used as a calming signal. It's a way of saying, I've had enough and my patience is running out. For example, in a training session, your dog may yawn to deal with frustration and to give himself a mental break.