Kdo,
The reason why I don't want to use shared memory is I am a newbie and dont want to be stuck in that.
Can you give a link to a good tutorial explaining the shared memory? I'm working on Fedora now. I am not sure if the things I use change for different operating systems.
There are not many decent, easy, self explaining tutorials for linux development. I'm not surprised Linux is on the par.
Main Topics
Browse All Topics





by: KdoPosted on 2009-03-21 at 08:48:22ID: 23947738
Hi Shadow,
You've got several very workable choices. The first you've already discounted, that is shared memory. (Check the mmap function, it's not hard to use.)
The second is to use threads instead of spawning a new task. Threads share the entire memory region of the original task so all memory is shared.
On some systems you can use system calls to access memory in another task, but that's not portable and certainly more work than either method listed above.
Good Luck,
Kent