For the case which you mentioned :-

>You can let the ALRM-sub simply set a global variable, like $STOP.
Your process should check this before starting a next iteration.

I suppose this needs to be set in parent process which means Signal needs
to be invoked in parent. Is my understanding correct ? Will any new
subprocess that is going to get started will have access to this Global
variable ?

Thanks and Regards.

Reply via email to