
8 Dec
2006
8 Dec
'06
6:09 p.m.
Hi Ion, I mananged to get something working on Linux by doing a try-catch block on an "open_only" shmem object. It works fine on normal program exit. However, as you probably know, if the program is killed or crashed there is a dangling reference since remove/shm_unlink is never called. So I'm wondering: 1) is there any way around this behavior on a kill/crash? 2) is there a way to manually remove the shared memory besides rebooting? (i tried using ipcrm but it looks like it still thinks there are processes attached). Thanks, Daren