2001-01-03-21:43:39 Dan Sugalski:
> I think one of the things we might want to do is figure out what people use
> signals for [...] The big one I can think of is interrupting
> timers. [...] (Excepting I/O signalish things, which will get
> handled elsewhere)
How about, goosing long-lived daemons to ask 'em to re-read their
config files? The only signal code I ever wrote for perl was for
that --- and never did manage to work my way around to testing the
resulting code enough to convince myself it was really correct, so I
never did deploy it. My sighandler just modified the value of a "use
vars" package-scope scalar flag, which was then checked and dealt
with in the main processing loop, right before it'd try to actually
do anything. Is that code pattern safe now? If not, can we design to
guarantee that it is?
-Bennett
PGP signature