It does not fail if a segment with the same name already exists.
--- src/ipc/mem/Segment.h | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git src/ipc/mem/Segment.h src/ipc/mem/Segment.h index 3becf74..138de2b 100644 --- src/ipc/mem/Segment.h +++ src/ipc/mem/Segment.h @@ -25,8 +25,7 @@ public: /// Whether shared memory support is available static bool Enabled(); - /// Create a new shared memory segment. Fails if a segment with - /// the same name already exists. Unlinks the segment on destruction. + /// Create a new shared memory segment. Unlinks the segment on destruction. void create(const off_t aSize); void open(); ///< Open an existing shared memory segment. -- 1.7.6.3Received on Wed Sep 28 2011 - 23:06:42 MDT
This archive was generated by hypermail 2.2.0 : Thu Sep 29 2011 - 12:00:03 MDT