Hi, I'm working on a program (actually set of programs) where copies need to send large amounts of data between themselves. I've decided that it'd probably be best to do this via shared memory for various reasons. I want to set it up so I can do this:
App1 and App2
App1 creates a chunk of shared memory, puts the data in it and sends a message to App2 with the address of the memory. App2 grabs the data and does whatever with it.
Now, I can do the messages fine, I've already got other parts working that rely on them. However, I have no idea how to go about doing the shared memory thing. Does anyone have any sample code or helpful links?
Thanks.
App1 and App2
App1 creates a chunk of shared memory, puts the data in it and sends a message to App2 with the address of the memory. App2 grabs the data and does whatever with it.
Now, I can do the messages fine, I've already got other parts working that rely on them. However, I have no idea how to go about doing the shared memory thing. Does anyone have any sample code or helpful links?
Thanks.