SHARED MEMORY FOR GOD SAKE!!!

I searched the HOLE DAY for examples or anything relate to shared memory!
i built some stuff, but now i am seeing that i will need to allocate or dealocate memory from the shared memory!
a class will be the object to be shared and it will have messages, stuff like that

then i found this libmm

http://www.ossp.org/pkg/lib/mm/

but I don't know how to use it
i mean, proccess A MM_create and MM_alloc the stuff, but how would a proccess b access it?

please,. help me with this :(
Joe

Comments

  • : I searched the HOLE DAY for examples or anything relate to shared
    : memory!
    : i built some stuff, but now i am seeing that i will need to allocate
    : or dealocate memory from the shared memory!
    : a class will be the object to be shared and it will have messages,
    : stuff like that
    :
    : then i found this libmm
    :
    : http://www.ossp.org/pkg/lib/mm/
    :
    : but I don't know how to use it
    : i mean, proccess A MM_create and MM_alloc the stuff, but how would a
    : proccess b access it?
    :
    : please,. help me with this :(
    : Joe


    Do you need to share memory between two process or two threads?
  • Two months after making his post, I doubt he needs either.

    Please check the dates of the threads you are replying to.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories