http://www.perlmonks.org?node_id=1024875


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?