Re: forks or thread for perl on win32

2002-02-14 Thread Johnathan Kupferer
In parent.pl, >$child{$pid} = {in=>$in,number=>$i,event=>$event,called=>1}; was supposed to be: $child{$pid} = {in=>$in,out=>$out,number=>$i,event=>$event,called=>1}; - Johnathan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: forks or thread for perl on win32

2002-02-14 Thread Johnathan Kupferer
I just responded to a similar post "Forking in NT" but... Use open2 or open3 to comunicate with child processes. If you're just coding for win32 then you may want to also look at the Win32 modules, especcially Process.pm and Event.pm. There are some examples in C:\Perl\site\lib\Win32. Below

Re: forks or thread for perl on win32

2002-02-14 Thread Jonathan E. Paton
>Hi All, > > I trying to find some information (examples) about forks > or thread for perl on win32, can anyone help me? > > Basically want to run 'X' simultanous processes in a > continous loop. That is there will alway be 'X' number > of processes running. > [snip] > Is there another/better wa