To my knowledge the only limit is what your OS can handle.

On Tue, 2002-03-26 at 14:53, perl wrote:
> Is there a limit to the number of children in Perl?
> 
> 
> "Ahmed Moustafa" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Tagore Smith wrote:
> >
> > > Ahmed Moustafa wrote:
> > >
> > >
> > >>So, how can a new different process by forked? Or, how a function be
> > >>called and the next step execute without waiting for the previous
> > >>function to terminate?
> > >>
> > >
> > >    For your original question (threads) see perldoc perlthrtut.
> > >
> > >    When you fork a child process the call to fork returns the child pid
> to
> > > the parent and 0 to the child. So you can write code that tests the
> return
> > > value and does one thing in the parent process (continue forking
> children to
> > > deal with the rest of your files) and another in the child process
> (process
> > > the current file). You can also use exec to execute another process
> which is
> > > not a "clone" of the parent.
> > >
> > >    See perldoc -f fork and perldoc -f exec.
> > >
> > >    Out of curiosity, why do you want to do this?
> >
> >
> > The main loop looks for files which are sent via FTP. Once a file is on
> > the server, it should be encrypted. The encryption process is slow so
> > some files stay as plain text waiting for their turns to be found and
> > encrypted.
> >
> 
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
-- 
Today is Setting Orange the 12nd day of Discord in the YOLD 3168
Grudnuk demand sustenance!

Missile Address: 33:48:3.521N  84:23:34.786W


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to