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.
>> 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
>> 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
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
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 ?
>
>