468,268 Members | 1,588 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,268 developers. It's quick & easy.

Shared Memory...

1
Hi
I don't know if this board is appropriate, if it isn't, sorry.

I am trying to build a server in c++ within a linux box, and I need to use shared memory, because it will talk to another software.
But I can't seem to do it... I can use the shared memory with static arrays and stuff like that, but I need to allocate and dealocate the memory within the shared object
then i found this libmm and it appears that even php and apache use this library
but guess what? I don't know how to use it
i can MM_malloc stuff, but how do I access the shared mm within another proccess?
so, please
please help me out with this
google wasn't nice with this subject

and again, sorry if it is wrongh place

thanks
Joe
Sep 4 '07 #1
1 1321
gpraghuram
1,275 Expert 1GB
Hi
I don't know if this board is appropriate, if it isn't, sorry.

I am trying to build a server in c++ within a linux box, and I need to use shared memory, because it will talk to another software.
But I can't seem to do it... I can use the shared memory with static arrays and stuff like that, but I need to allocate and dealocate the memory within the shared object
then i found this libmm and it appears that even php and apache use this library
but guess what? I don't know how to use it
i can MM_malloc stuff, but how do I access the shared mm within another proccess?
so, please
please help me out with this
google wasn't nice with this subject

and again, sorry if it is wrongh place

thanks
Joe
I treied a search and found this link.
The link explains how 2 process can communicate using shared memory.

Raghuram
Sep 4 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Srijit Kumar Bhadra | last post: by
3 posts views Thread by alanrn | last post: by
11 posts views Thread by Michael Schuler | last post: by
1 post views Thread by myren, lord | last post: by
14 posts views Thread by phil_gg04 | last post: by
12 posts views Thread by Jeremy | last post: by
5 posts views Thread by Jim | last post: by
21 posts views Thread by llothar | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.