>-----Original Message-----
>From: Joe Orton [mailto:[EMAIL PROTECTED] 

>in the end using anonyous shm everywhere was easier than 
>fixing all the FIXMEs in the shm code where it should have had 
>real error handling, so I gave up with this stuff.
>

.. Interesting - we were working on this just last week.
With name-based shm, the file needs to be created only because ftok
needs it - once the shm is created, it's okay to delete the file.
As regards the shm itself, if we do a IPC_RMID soon after the
shmat(similar to anon-shm), the shm is marked for deletion soon after
all the processes detach.

-Madhu

Reply via email to