On Fri, 26 Jun 1998, Richard van Ulden wrote:

> Keep in mind that the shared memory block remains present when the
> daemon dies for some reason.
> 
> When the daemon gets killed voluntarily the shared mem is marked for
> deletion but not removed untill the last client detaches. 
> 
> When the daemon gets killed unvoluntarily the shared mem is not even
> marked for deletion.

Mark the segment for deletion as soon as you have attached to it in the
server. When the server dies and the clients have detached from it will be
removed. Just because a segment is marked for deletion doesn't make it
unusable. 

I hope this helps.

* [EMAIL PROTECTED] - Power to the penguin!

Reply via email to