vendredi 8 novembre 2019

share std::vector using shared memory IPC in linux

i am trying to write std::vector to shared memory using boost managed_shared_memory.

Writing the data is fine. But at client process side if i try to read the vector data, leads to segmentation fault.

INstead of vector tried writing array, it is working fine.

Aucun commentaire:

Enregistrer un commentaire