Before my wife and I got married, we lived together for two years. We had to work through the times when sex wasn't going to happen, like during her period. She felt "left-out" if I jacked off so, for a while, I a just went cold turkey so her feelings wouldn't get hurt. Turns out her being in a highly-irritable state combined with my sexual frustration was a recipe for one atomically-miserable week for both of us. We agreed to find alternative ways, like a blow job, or her giving me a hand-job was a good way to go!
Once we were married and expecting our first and only child, nine-months caused for re-negotiations with masturbation all together. While she she still likes to be involved, she no longer feels so "left-out" if I'm taking care of my own needs, from time to time.
Jacking off in front of my wife has been a great way to signal "hey I'm really fuckin' horny.... you wanna play?" just without the words, but even sometimes she likes to hear the words (in Spanish, French and Italian)