|
Boost Users : |
From: Foelsche, Peter (peter.foelsche_at_[hidden])
Date: 2024-05-09 14:46:29
BTW - I gave up trying to use explicit template instantiation inside a .cpp file.
From: Foelsche, Peter (DI SW ICS CICV R&D SIM1 5)
Sent: Thursday, May 9, 2024 9:42 AM
To: boost-users_at_[hidden]
Subject: boost::flyweights::intermodule_holder
Dear All,
Thanks for the boost library!
Apparently the boost::flyweight::intermodule_holder on LINUX is creating shared memory objects, which by accident (crash?) can persist after the process having created them is already gone.
As a result I ran into the following situation:
I could not successfully run some code, as it attempted to create an already existing shared memory object created by another user.
Would the following be a solution to this problem:
Use a copy of the code of the static_holder inside another namespace as attached and compile one module with __INCLUDE_HOLDER__ defined and all the rest without this define?
Peter
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