Please let me know if there are any do's and dont's of things(statements/logic/etc) to be written inside a signal handler.
SIGHUP can be used for re-reading configuration files in a running daemon program. In the SIGHUP signal handler, what are the possible do's and dont's?.