Commit 393ffe01 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(intr_syscalls_on_intr): Removed.

(restart_syscalls_on_intr): Removed.
(do_statistics): Removed.
(go_and_die): Now a Bool, once again.
parent ff4c613a
/*
* $Id: sigflags.h,v 1.4 2002/11/02 10:55:22 ceder Exp $
* $Id: sigflags.h,v 1.5 2003/07/13 11:54:21 ceder Exp $
* Copyright (C) 1991, 1999, 2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -23,28 +23,6 @@
* Please mail bug reports to bug-lyskom@lysator.liu.se.
*/
/* Set up signal handlers without SA_RESTART, so that syscalls can
return with EINTR. This is done before calls to select() with a
long timeout; make sure to restore the SA_RESTART with
restart_syscalls_on_intr() as soon as possible, since most of the
server isn't prepared to handle the EINTR error. */
void intr_syscalls_on_intr(void);
/* Set up signal handlers with SA_RESTART. This is the normal mode of
operation for lyskomd. */
void restart_syscalls_on_intr(void);
/* The go_and_die flag is set by SIGHUP and shutdown_kom. It causes
lyskomd to be shut down in an orderly fashion. */
extern volatile sig_atomic_t go_and_die;
/* The do_statistics flag is set by SIGUSR1. It causes lyskomd to
write some statistics, typically to /usr/lyskom/etc/lyskomd-log. */
extern volatile sig_atomic_t do_statistics;
extern Bool go_and_die;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment