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.
> I would guess if perl 5.005 is on Win32 it has threads, no? (not that
> I'd really ever want to use threads in perl...)
Threading is still a little bit rough in Perl, but it's somewhat
usable.
--kevin
--
(paraphrasing)
"We've found that most of the requests that we've had to support
fork() under the Win32 subsystem come from maintainers of older,
legacy apps. We have no plans to support it."
-- Some manager from Microsoft, spewing his propaganda on the p5p list.
**********************************************************
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
**********************************************************