I have started to study shared memory to communicate between processes .

I have noticed that a semaphore is associated when i create a shared memory.

My question is: is that semaphore just for the internal functions or can i use it to my advantage to, by example make a child process wait until the father writes to the memory segment?

Thank You