Boost Users :
From: Alex (talamar.lands_at_[hidden])
Date: 2008-06-06 07:57:57
Sorry, no question - it was a bug in my own code.
All works great!
"Alex Markelov" <talamar.lands_at_[hidden]> wrote in message
> several processes need to communicate using managed_windows_shared_memory
> - "servers":
> managed_windows_shared_memory shm (open_or_create, "MySharedMemory",
> - "clients":
> managed_windows_shared_memory shm (open_only, "MySharedMemory");
> "Client" and "server" proceses run sequence may be the following:
> 1) start server 1
> 2) start client 1
> 3) exit server 1
> 4) start client 2 -> oops! interprocess exception thrown: shared memory
> could not be open.
> Why at the moment when last "server" exited the shared memory was
> Shared memory should exist while at least one user exists.
> At the moment when the last "server" exited, client 1 was existing and
> thus the shared memory should be accessible for opening still.
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