cc: [EMAIL PROTECTED] [EMAIL PROTECTED] Subject: Re: Re: [ast-users] exploiting parallelism using ksh? --------
> D'oh! I completely forgot about 'wait'. > I suppose when the manual says 'waits for all child processes' > it really means 'waits for any child to terminate' not 'waits for all > children to terminate', as in wait(2)? > > Thanks! > wait returns when all are complete. How about a shell variable that limits the number of child processes. It you try to run another process, the shell would block until one of the running processes completes. However, a pipeline could exceed the limit otherwise you could get into deadlock. David Korn [EMAIL PROTECTED] _______________________________________________ ast-users mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-users
