Can I remove files from Dev SHM?

Sơn Lê

Member
Can I remove files from Dev SHM?
Answer
What happen when delete shared memory files in dev/shm by using
‘rm’ command
. I used Posix shared memory to communicate between 2 process. Then during 2 process were sharing data, I used ‘rm’ command to remove all shared file which mounted in dev/shm. I expected some errors will happen, but everything still work normal …
 

Tìm kiếm

Back
Top