Boost logo

Boost Users :

Subject: [Boost-users] Boost::interprocess sharing string
From: Federico Golfrè Andreasi (federico.golfre_at_[hidden])
Date: 2009-01-19 11:42:37


Hi !

    I have a problem sharing a string within a shared memory segment using
named objects. (Boost.interporcess 1.36.0)

I attach here the code of the two programs: one writes the string and the
other read it.
In the reader a segmentation fault is throw.

Where am I wrong?
Thank you very much

Federico






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