On Tue, 8 Feb 2000, "Kevin D. Clark" <[EMAIL PROTECTED]> wrote:
> 
> Karl J. Runge writes:
> 
> > Does Perl on Win32 have the fork() call yet? If so, is it reasonably
> > fast (as it is on Unix)? fork() is a nice, simple way to make a server
> > (for example).
> 
> $ uname -a
> Windows_NT CLARK2 4.0 17.5 i686
> $ perl -v
> 
> This is perl, version 5.004_04 built for cygwin32
> 
> Copyright 1987-1997, Larry Wall
> 
> Perl may be copied only under the terms of either the Artistic License or the
> GNU General Public License, which may be found in the Perl 5.0 source kit.
> 
> $ perl -e 'if (fork()) { print "parent\n" } else { print "child\n" }'
> child
> parent
> $
> 
> 
> Wow.

Neat. Is it copy on write? (i.e. pages are copied when written to, as
opposed to copy the whole process image at fork time).

Karl Runge


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to