]> arthur.barton.de Git - ngircd.git/commit
Add new 'delayed' signal handlers.
authorFlorian Westphal <fw@strlen.de>
Fri, 10 Sep 2010 22:19:01 +0000 (00:19 +0200)
committerFlorian Westphal <fw@strlen.de>
Sat, 11 Sep 2010 09:36:12 +0000 (11:36 +0200)
commit1fe17e246cba4ee2f4349196c544296790ab5d55
tree96c4fb5c77a82ac05c2824ebc915be3d594d9c35
parentc135d0dded909e2e5780697c4066ad44a3f488c8
Add new 'delayed' signal handlers.

Allows to defer/queue signal processing for execution on the next
event dispatch call, i.e. we can perform any signal action in
normal, non-signal context.

Example uses:
- Reload everything on HUP without writing a global "SIGHUP_received"
  variable
- Dump status of internal Lists on SIGUSR1, etc.
configure.in
src/ngircd/Makefile.am
src/ngircd/conn.c
src/ngircd/ngircd.c
src/ngircd/ngircd.h
src/ngircd/parse.c
src/ngircd/proc.c
src/ngircd/sighandlers.c [new file with mode: 0644]
src/ngircd/sighandlers.h [new file with mode: 0644]