EPICS Base  7.0.6.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
epicsSignal.h File Reference

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

#include "libComAPI.h"
Include dependency graph for epicsSignal.h:

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

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 epicsSignalInstallSigHupIgnore ( void  )

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

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.

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

LIBCOM_API void epicsStdCall epicsSignalRaiseSigAlarm ( struct epicsThreadOSD )

Raise a SIGALRM signal to a specific epicsThread