Pada 08 Jan 2005, 18:40:05 +0900, baskara menulis (diringkas):
> 
> Hasilnya begini:
> 
> child1 = 1   12716
> child2 = 0   12716
> 
> ___ alamat memori sama, tetapi isinya beda ??? _______
> 

---akhir kutipan---

        Barangkali bukan memori yang sama, karena

        "Please note that Unix will make an exact copy of the parent's
        address space and give it to the child. Therefore, the parent
        and child processes have separate address spaces."

        http://www.csl.mtu.edu/cs4411.ck/www/NOTES/process/fork/create.html

-- 
amal

An infinite number of monkeys at an infinite number of keyboards
could produce something like Usenet.
                        -- Gene Spafford

Kirim email ke