daemon: new scheme for graceful termination
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 9 May 2012 10:39:46 +0000 (12:39 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 9 May 2012 10:39:46 +0000 (12:39 +0200)
commit4d95bcc1c92abde629616853b6a5d8e56444f5f3
treeff3d37ad83bd2462e376a861147f75b26201851b
parent185071b355f704ffe9072b3221eedbda78558dda
daemon: new scheme for graceful termination

The keepalive child process calls new function, yaz_daemon_stop, which
tells parent keepalive process to terminate. This function should be
called when the child process has closed the listening socket.
include/yaz/daemon.h
src/daemon.c