Boost logo

Boost Users :

Subject: Re: [Boost-users] Information about create_only and open_or_create
From: manish4gupta (manish_at_[hidden])
Date: 2009-10-21 23:36:10


Hi,

I am working on shared memory. I am successful in using it but I am trying
to optimize my code. I just want to know the differences between create_only
and open_or_create. As far as i know, create_only creates the shared memory
with given size, while open_or_create can open and create both. But If I use
open_or_create instead of create-only, i am getting interprocess exception.
Why?
Please help. Thanks in advance.

manish4gupta wrote:
>
> Hi,
>
> I am working on shared memory. I am successful in using it but I am trying
> to optimize my code. I just want to know the differences between
> create_only and open_or_create. As far as i know, create_only creates the
> shared memory with given size, while open_or_create can open and create
> both. But If I use open_or_create instead of create-only, i am getting
> interprocess exception. Why?
> Please help. Thanks in advance.
>

-- 
View this message in context: http://www.nabble.com/Information-about-create_only-and-open_or_create-tp25902079p26003540.html
Sent from the Boost - Users mailing list archive at Nabble.com.

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