Using malloc to communicate between parent and child
If I ask for memory size of an int from malloc and I create 'n' child processes from one parent.
Is it posible for each child to update(add one) the value inside that memory, so by the end the parent process reads the value?
Aucun commentaire:
Enregistrer un commentaire