How to get Shared Object in Shared Memory

前端 未结 4 1358
Happy的楠姐
Happy的楠姐 2021-01-16 07:07

Our app depends on an external, 3rd party-supplied configuration (including custom driving/decision making functions) loadable as .so file.

Independently, it coopera

4条回答
  •  情话喂你
    2021-01-16 07:42

    Placing actual C++ objects in shared memory is very, very difficult, as you have found. I would strongly recommend you don't go that way - putting data that needs to be shared in shared memory or a memory mapped file is much simpler and likely to be much more robust.

提交回复
热议问题