Link to home
Start Free TrialLog in
Avatar of vangel
vangel

asked on

Shared Memory (Ansi C- Sco Unix), shmat address

I have a clients - server setup that are both attaching to a shared memory segment created by the server.
If I use shmat on the clients process, using ofcourse the same shmid, shmat is returning a differnce
address than the server one.
e.g Server address=80C00000 and client address=81000000
ASKER CERTIFIED SOLUTION
Avatar of dirc
dirc

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vangel
vangel

ASKER

That means then that each child process will have to consume x amount of data space for making the memory mapping?
Avatar of Paul Maker
no, the child process wont actually consume any more pyhisical memory, it will just map the region into its virtual memory