epicsSignal.h

OS-independent routines for ignoring Posix signals.

The requests in this interface are typically ignored on OS that do not implement POSIX signals.

Functions

void epicsSignalInstallSigHupIgnore(void)

Ignore the SIGHUP signal. Required to avoid problems with soft IOCs getting SIGHUPs when a Channel Access client disconnects

void epicsSignalInstallSigPipeIgnore(void)

Ignore the SIGPIPE signal. Required to avoid terminating a process which is blocking in a socket send() call when the SIGPIPE signal is generated by the OS.

void epicsSignalInstallSigAlarmIgnore(void)

Ignore the SIGALRM signal. Required only if shutdown() and close() do not interrupt a thread blocking in a socket system call

void epicsSignalRaiseSigAlarm(struct epicsThreadOSD*)

Raise a SIGALRM signal to a specific epicsThread