Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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?
[perldigious]: I watched some video on YT awhile back with auto-subtitle on and the speaker had a very thick cockney sort of English accent... hillarity ensued in the subtitles.
[Discipulus]: IHAA=I hate acronyms anyway
LanX LOLs
[perldigious]: If you want a linguistic adventure...
[perldigious]: No offense to any Scotsman, I love Scots. Well actually, I love Scotch, but I'm sure the people are great too. :-P
[Discipulus]: perldigious i understand i word on ten, to be optimistic..

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2017-06-23 16:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (552 votes). Check out past polls.