So basically I want to suspend a bit the child process after it's creation  just so the parent prepare some data for it in a shared memory I'm trying to use a semaphore  as suggested here: How to share semaphores between processes using shared memory