Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: How to make child to halt its execution and the parent to continue?

by srlbharu (Acolyte)
on Mar 22, 2013 at 05:23 UTC ( #1024875=note: print w/ replies, xml ) Need Help??


in reply to Re: How to make child to halt its execution and the parent to continue?
in thread How to make child to halt its execution and the parent to continue?

Hi Sir,

This is the exact scenario what am I looking for. It is working exactly as I want.

Thanks a lot, great relax for me :-)

A small add on

In the current example, parent is sending sigal after 10 seconds and then child was killed. Instead, Child needs to send a flag once its execution completes and once the flag is received in parent then it should send the Signal SIGINT to Child. As I know, to achieve this, we need to use IPCs like IPC::Sharable but pel 5.6 doesnot support it. Can you please let me know if any alternative way to do so?


Comment on Re^2: How to make child to halt its execution and the parent to continue?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1024875]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2014-04-19 10:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (480 votes), past polls