Quote:
|
Originally Posted by DreamWarrior
So...how is that "obstacle" usally overcome?
|
1. Understand the process memory map on a particular OS.
2. attach the shared memory as early as possible in the process startup to prevent that memories use by other later activities.
3. if you fork, you will have two processes using the shared memory at the same address, I can't confirm if when you exec() the shared-memory actually gets detached. Would be worth finding out?