Boost logo

Boost Users :

Subject: [Boost-users] Interprocess - 3rd process cannot read/write the shared memory
From: Lloyd (lloydkl.tech_at_[hidden])
Date: 2015-06-25 04:49:49


Hi,

I am working on Windows 7, boost 1.57. I am using interprocess shared
memory. I have two processes A and B. A creates the shared memory with
read/write permission, then B opens it and writes to it. In this case it
works fine. As the next step process A terminates and starts again and
opens the same shared memory. But in this case, it seems that A and B are
reading/writing to different memory! Is this a defined behavior? If I make
B to reopen the memory, it works!

Thanks,
  Lloyd



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