note
afoken
<p>You seem to have a problem understanding the concept behind <c>fork()</c>. <c>fork</c> creates an exact copy of the current process, assigns it a new process ID, and makes both processes run independantly. Some things are shared, like file handles, but most (like memory) are not. <small>(Actually, modern operating systems initially share most memory of both processes and use a copy-on-write mechanism to avoid expensive copy operations as long as possible.)</small></p>
<p>What you expect here is that your child will also have a hangover after only you got drunk.</p>
<p>Alexander</p>
<div class="pmsig"><div class="pmsig-747201">
--<br>
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
</div></div>
1004124
1004124