After a long time I am back in ilug-cal circle. If I make any mistake
in posting please correct me:
Regarding the question of address of variables it is correct that the
system shows Virtual Address. To understand why the two variables in
parent and child have the same address, you have to picture the stack
frame and address space of a process. Both parent and child has
similar 2GB layout with similar address for the first stack frame.
When the Child is in control, its address tables will map to the real
address stack for the child, while the same virtual address for the
parent will translate to its own real address that is different from
the child.
So while every process have same initial stackframe address the real
address for each will be different.
Hope that clarifies.
Cheers
JPM
(Mathew)



--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/node.php?id=3

Reply via email to