|
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-26 11:40:36
2009/9/25 manish4gupta <manish_at_[hidden]>:
>
> How can i solve my pblm? I tried many things but nothing seems to be
> working.
Calling shared_memory_object::remove("MySharedMemory") removes the
whole shared memory where you saved your data. If it gets called
before Process2 tries to read it, it will fail with mentioned
interprocess_exception.
Just don't remove it in Process1, remove it at the end of Process2.
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