What's stressful about it?
Shared-memory IPC is probably the one I'm most likely to mess up.
All you need is a mutex or a semaphore in the shared region!