This is Unofficial EPICS BASE Doxygen Site
epicsSignal.h File Reference

OS-independent routines for ignoring Posix signals. More...

#include "libComAPI.h"
+ Include dependency graph for epicsSignal.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

LIBCOM_API void epicsStdCall epicsSignalInstallSigHupIgnore (void)
 
LIBCOM_API void epicsStdCall epicsSignalInstallSigPipeIgnore (void)
 
LIBCOM_API void epicsStdCall epicsSignalInstallSigAlarmIgnore (void)
 
LIBCOM_API void epicsStdCall epicsSignalRaiseSigAlarm (struct epicsThreadOSD *)
 

Detailed Description

OS-independent routines for ignoring Posix signals.

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

Definition in file epicsSignal.h.

Function Documentation

LIBCOM_API void epicsStdCall epicsSignalInstallSigAlarmIgnore ( void  )

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

Definition at line 18 of file osdSignal.cpp.

18 {}
LIBCOM_API void epicsStdCall epicsSignalInstallSigHupIgnore ( void  )

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

Definition at line 16 of file osdSignal.cpp.

16 {}
LIBCOM_API void epicsStdCall 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.

Definition at line 17 of file osdSignal.cpp.

17 {}
LIBCOM_API void epicsStdCall epicsSignalRaiseSigAlarm ( struct epicsThreadOSD )

Raise a SIGALRM signal to a specific epicsThread

Definition at line 19 of file osdSignal.cpp.

19 {}