POSIX Signal¶
The POSIX signal handler intercepts process signals.
-
halmd.utility.posix_signal.
on_hup
(slot)¶ Connect slot to invoke on signal
HUP
.Parameters: slot – unary slot that accepts signal number Returns: connection
-
halmd.utility.posix_signal.
on_int
(slot)¶ Connect slot to invoke on signal
INT
.Parameters: slot – unary slot that accepts signal number Returns: connection
-
halmd.utility.posix_signal.
on_alrm
(slot)¶ Connect slot to invoke on signal
ALRM
.Parameters: slot – unary slot that accepts signal number Returns: connection
-
halmd.utility.posix_signal.
on_term
(slot)¶ Connect slot to invoke on signal
TERM
.Parameters: slot – unary slot that accepts signal number Returns: connection
-
halmd.utility.posix_signal.
on_usr1
(slot)¶ Connect slot to invoke on signal
USR1
.Parameters: slot – unary slot that accepts signal number Returns: connection
-
halmd.utility.posix_signal.
on_usr2
(slot)¶ Connect slot to invoke on signal
USR2
.Parameters: slot – unary slot that accepts signal number Returns: connection
-
halmd.utility.posix_signal.
on_cont
(slot)¶ Connect slot to invoke on signal
CONT
.Parameters: slot – unary slot that accepts signal number Returns: connection
-
halmd.utility.posix_signal.
on_tstp
(slot)¶ Connect slot to invoke on signal
TSTP
.Parameters: slot – unary slot that accepts signal number Returns: connection
-
halmd.utility.posix_signal.
on_ttin
(slot)¶ Connect slot to invoke on signal
TTIN
.Parameters: slot – unary slot that accepts signal number Returns: connection
-
halmd.utility.posix_signal.
on_ttou
(slot)¶ Connect slot to invoke on signal
TTOU
.Parameters: slot – unary slot that accepts signal number Returns: connection
-
halmd.utility.posix_signal.
wait
()¶ Block process until signal is received.
-
halmd.utility.posix_signal.
poll
()¶ Poll signal queue, and returns true if signal was handled.