I have one variable that is shared with 3 different process. i want parent to release shared memory before ending the program.
How do i achieve this?
Thank You.
Printable View
I have one variable that is shared with 3 different process. i want parent to release shared memory before ending the program.
How do i achieve this?
Thank You.
Get each process to shm_unlink() the shared memory - once they have all done this, the shared memory will be released.