Hi,

Sorry for the offtopic, but I'm getting thin on resources to get
answers.

I have a perl program that runs as a daemon.  This prog adds to the %ENV
a few variables that are timestamp dependant.   I have traped the HUP
sig and ALRM sig to restart the code using exec("perl.prog options").
The reason for the "exec" is so it passes the %ENV and I do not loose
the timestamp dependant variable values.  This also allows me to make
changes to the code and restart it with out loosing variable values.

However, since the signal handler routine never actually returns( I
think that is what is happening), sending it a SIGALRM or SIGHUP is only
good for one shot.  I have to completely shutdown the prog so as to get
the sigs to reset.

Does anyone know how to force down this condition?

thanks in advance :-)

--
robert canary
system services
OhioCounty.Net
[EMAIL PROTECTED]
(270)298-9331 Office
(270)298-7449 Fax



-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to