Category : shared-memory

When I using boost shared memory to share (Opencv Mat)data between 2 different processes in C++, I get that accesses violation error, I use win 10 and vs2019 and c++ 11. shared_memory_object::remove("SharedMemoryForCvMat_Mono"); const int data_size = 1920 * 1200 * 2; managed_shared_memory msm(open_or_create, "SharedMemoryForCvMat_Mono", data_size + sizeof(SharedImageHeader) + 1024 /* is it enoufh? */); auto ..

Read more

Language: C++/C . System: Linux I have a shared library foo.so which opens three other shared libraries bar1.so, bar2.so and bar3.so each of bar1.so, bar2.so, bar3.so have Entry functions which are called using dlsym after dlopen and different types of objects are created within barX.so libs. bar1.so, bar2.so and bar3.so also have dynamic linking to ..

Read more