On Friday, May 10, 2002, at 09:20 , Chas Owens wrote:
[..]
> In many operating systems fork is implemented using copy-on-write. This
> means that when you fork both processes refer to the same memory
> locations until one of them tries to change the bytes stored there. At
> that time the change
On Fri, 2002-05-10 at 00:12, Ahmed Moustafa wrote:
> Thanks a lot. I understand that.
>
> I was thinking that variable 'x' of a forked process 'p2' would point at
> the same memory location of variable 'x' of a parent process 'p1'. That
> can't be true. If that was true, 'p1' and 'p2' would be
Thanks a lot. I understand that.
I was thinking that variable 'x' of a forked process 'p2' would point at
the same memory location of variable 'x' of a parent process 'p1'. That
can't be true. If that was true, 'p1' and 'p2' would be identitcal (no
need to fork!).
--
Ahmed Moustafa
http://po