initial step to use shared memory

Instead of opening a fd (file or IPC) to notify the master that the worker is still
alive we could just share the memory between the process and the master
and read when it has been updated by reading a value. It will improve
the performances and use less fds.