RE: [Boost-Users] boost::pool + shared memory
Looks like pool may not be what I need, darn. I like to weasel as many boost classes into my project as possible.
-----Original Message----- From: Tom Matelich [mailto:tmatelich@zetec.com] Sent: Monday, January 07, 2002 2:49 PM To: 'boost-users@yahoogroups.com' Cc: 'shammah@voyager.net' Subject: [Boost-Users] boost::pool + shared memory
I need to build a system for having miscellaneous objects in a shared memory segment. Essentially, we need a few inter-process singletons. These classes have STL containers, so I was looking at using pool_allocator and writing a UserAllocator to use ACE_Mem_Map ( http://doc.ece.uci.edu/Doxygen/Current/html/ace/classACE__Mem_ _Map.html#_det ails ) or something. I just wanted to see if anyone had done anything resembling this and could give me any pointers or tips.
Thanks,
Tom Matelich
PS Why can't I see who is a member of this group? I wanted to check to see if Steve Cleary was a member. Sorry if you are Steve.
------------------------ Yahoo! Groups Sponsor ---------------------~--> Tiny Wireless Camera under $80! Order Now! FREE VCR Commander! Click Here - Only 1 Day Left! http://us.click.yahoo.com/WoOlbB/7.PDAA/ySSFAA/EbFolB/TM -------------------------------------------------------------- -------~->
Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
--- In Boost-Users@y..., Tom Matelich
Looks like pool may not be what I need, darn. I like to weasel as many boost classes into my project as possible.
I've got a similar question -- I've got a whole pile of strings that I want to share between processes, and I was thinking a reference- counted string implementation with the actual data in shared memory would be a good way to do that. Do you think a memory pool placed in shared memory, with the string class modified to allocate/deallocate there would work?
participants (2)
-
Tom Matelich
-
xpav_2000