> On Tue, 30 Jan 2001 10:22:34 -0500, bill stennett
> <[EMAIL PROTECTED]> wrote:
> 
> >I am having trouble with a script that trys to fork a new process.  The
> >script was OK on unix but I need it on Windows NT4 (SP6a).  Is the fork()
> >command available under NT4.  I think I read somewhere that it was not
> >implemented under windows 95/98 but under NT?
> >
> >Maybe my problem is somewhere else but if anyone can confirm the above it
> >would be really useful.
> 
> fork() emulation is available on Win32 in Perl 5.6.0.  It should work in
> ActivePerl 5.6 build 6xx.  However there is a bug (design flaw actually)
> in the regular expression engine that makes it not-threadsafe when a
> variable is interpolated into the pattern, e.g. /$mypattern/
> 
> -Jan

Using semafores to make sure only one thread uses the regexp engine 
at any moment would be enough? Are there some other not-threadsafe 
things?

Jenda 

== [EMAIL PROTECTED] == http://Jenda.McCann.cz ==
28th of March I'll march out of the "army"
I'll be free so if you want me ...
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to