$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Daren Lee (dropshot405_at_[hidden])
Date: 2006-12-08 13:09:45
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