How do I turn off shared memory?

How do I turn off shared memory?
Answer
System
call shmdt() is used to detach a shared memory. After a shared memory is detached, it cannot be used. However, it is still there and can be re-attached back to a process’s address space, perhaps at a different address. To remove a shared memory, use shmctl().
 

Tìm kiếm

Back
Top