Boost logo

Boost :

From: Borse, Ganesh (ganesh.borse_at_[hidden])
Date: 2007-03-15 22:40:55


Dear Sir,
Thanks for this guidance.
I downloaded boost src code (boost_1_33_1.tar.gz) as well as Boost.Interprocess (interprocess.2006-08-04.zip) from boost site.
May you please guide me about following doubts?

1) Are these two separate source code or I need to compile Boost.Interprocess along with boost_1_33_1?
2) Does this compile on Solaris 8 & RHEL3 as well?

Thanks and Regards,
Ganesh B.
----------------------------------------------------
Message: 15
Date: Tue, 13 Mar 2007 22:21:34 +0100
From: Ion Gazta?aga <igaztanaga_at_[hidden]>
Subject: Re: [boost] C++ - STL hash map & Shared memory between 2
        unrelated, arbitrary processes
To: "boost_at_[hidden]" <boost_at_[hidden]>
Message-ID: <45F715DE.7040809_at_[hidden]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Borse, Ganesh wrote:
> Hi,
> I am developing an application with 2 unrelated, arbitrary processes having a C++ shared hash map between them to store data.
> However, I am facing the problem of creating this template hash map in shared memory.
> Can boost be used for this purpose?
> Can anybody please suggest me the implementation which can be used to do this?
> Thanks in advance.

The hash map containers that were being developed by Daniel James (take a look at Vault/Containers) used to be shared memory friendly (I mean, compatible with Boost.Interprocess). I haven't tested them recently, though.

To share containers between two unrelated processes please see Boost.Interprocess (currently in the CVS, and BoostVault/Concurrent Programming). Online docs here:

http://ice.prohosting.com/newfunk/boost/libs/interprocess/

> Best Regards,
> Ganesh B.

Regards,
Ion

==============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer:

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk