Re: Multiprocessing script

2012-07-26 Thread punit jain
Thanks everyone. This is really helpful. Major concern was in situation where we use multiprocessing I don't end up creating zombies. If the logic is correct I think I can go ahead with Shlomi's advice to fix other parts. Best Regards.

RE: Multiprocessing script

2012-07-26 Thread Bob McConnell
>> From: Rob Coops [mailto:rco...@gmail.com] >> Sent: Thursday, July 26, 2012 5:26 AM >> To: beginners@perl.org >> Subject: Re: Multiprocessing script >> >> On Thu, Jul 26, 2012 at 11:01 AM, Shlomi Fish >> wrote: >> >> > Hi Punit, >&g

RE: Multiprocessing script

2012-07-26 Thread Bob McConnell
>> From: Rob Coops [mailto:rco...@gmail.com] >> Sent: Thursday, July 26, 2012 5:26 AM >> To: beginners@perl.org >> Subject: Re: Multiprocessing script >> >> On Thu, Jul 26, 2012 at 11:01 AM, Shlomi Fish >> wrote: >> >> > Hi Punit, >&g

Re: Multiprocessing script

2012-07-26 Thread Rob Coops
On Thu, Jul 26, 2012 at 11:01 AM, Shlomi Fish wrote: > Hi Punit, > > a few comments on your code. > > On Thu, 26 Jul 2012 10:17:13 +0530 > punit jain wrote: > > > Hi, > > > > Below is my script where alarm is generated after 15 sec and changes the > > global variable in parent from 0 to 1. Is the

Re: Multiprocessing script

2012-07-26 Thread Shlomi Fish
Hi Punit, a few comments on your code. On Thu, 26 Jul 2012 10:17:13 +0530 punit jain wrote: > Hi, > > Below is my script where alarm is generated after 15 sec and changes the > global variable in parent from 0 to 1. Is there any mistake in my > multiprocess approach with time-based stop ? > >