[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [leafnode-list] Ever wanted to change the verbosity level of a running
Colin Brough wrote:
[to change verbosity of fetchnews on the fly]
> + static void catch_sig_usr( int signo )
> + {
> + if (signo == SIGUSR1)
> + {
> + verbose++;
> + }
> + else if (signo == SIGUSR2)
> + {
> + verbose--;
> + }
> + }
> +
How does the process know where to continue after verbose has been
increased or decreased? I was under the impression that was what the
longjmp() usually is for...
--Cornelius.
--
/* Cornelius Krasel, U Wuerzburg, Dept. of Pharmacology, Versbacher Str. 9 */
/* D-97078 Wuerzburg, Germany email: phak004@xxxxxxxxxxxxxxxxxxxxxx SP4 */
/* "Science is the game we play with God to find out what His rules are." */
--
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list