|
Boost Users : |
Subject: Re: [Boost-users] How to Read the stored memory map in C++
From: Christoph Gysin (christoph.gysin_at_[hidden])
Date: 2009-09-18 13:05:58
> Â //Remove shared memory on construction and destruction
> Â struct shm_remove
> Â {
> Â Â Â shm_remove() { shared_memory_object::remove("MySharedMemory"); }
> Â Â Â ~shm_remove(){ shared_memory_object::remove("MySharedMemory"); }
> Â } remover;
You tell Process1 to clean it up on exit.
Chris
-- echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org_at_fr33z3
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net