Sounds like an ideal place for SIGUSR1 (30) or SIGUSR2 (31) if your system supports them.
-derby
In reply to Re: signal pipe by derby in thread signal pipe by hotshot