[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]
Re: :zz: If we fork a zz process, is the binary copied?
- To: zzdev@xxxxxxxxxx
- Subject: Re: :zz: If we fork a zz process, is the binary copied?
- From: Andrew Pam <xanni@xxxxxxxxxxxxxxxxx>
- Date: Wed, 31 Mar 1999 02:45:14 +1000
- Cc: ted@xxxxxxxxxxxxxx
- In-reply-to: <220.127.116.11.19990331005450.007ffa90@xxxxxxxxxxxxxxxxxxx>; from Ted Nelson on Wed, Mar 31, 1999 at 12:54:50AM +0900
- References: <18.104.22.168.19990331005450.007ffa90@xxxxxxxxxxxxxxxxxxx>
- Reply-to: zzdev@xxxxxxxxxx
On Wed, Mar 31, 1999 at 12:54:50AM +0900, Ted Nelson wrote:
> ... or is it the Perl source?
> It would scarcely make sense to recompile the Perl
> for each new instance.
That's correct. If you do a Unix fork system call, the entire RAM image
of the running process (which is Perl in this case) is virtually copied.
(The actual pages in RAM are only copied when written to.) Therefore
the code being executed by Perl is not recompiled.
*** Xanni ***
mailto:xanni@xxxxxxxxxx Andrew Pam
http://www.xanadu.com.au/ Chief Scientist, Xanadu
http://www.glasswings.com.au/ Technical Editor, Glass Wings
http://www.sericyb.com.au/sc/ Manager, Serious Cybernetics
P.O. Box 26, East Melbourne VIC 8002 Australia Phone +61 3 96511511