CMS 3D CMS Logo

Signal.h File Reference

#include "classlib/sysapi/system.h"
#include <cstdio>
#include <cstdlib>
#include <cerrno>
#include <unistd.h>
#include <sys/stat.h>
#include <ucontext.h>

Go to the source code of this file.

Defines

#define MYWRITE(fd, data, n)   write(fd,data,n)
#define SA_SIGINFO   0
#define si_int   si_signo ? 0 : 0
#define si_ptr   si_signo ? (void *) 0 : (void *) 0
#define si_stime   si_signo ? 0 : 0
#define si_utime   si_signo ? 0 : 0
#define STDERR_HANDLE   STDERR_FILENO

Variables

static const int SIGNAL_MESSAGE_BUFSIZE = 256
 Maximum length of a signal message.


Define Documentation

#define MYWRITE ( fd,
data,
n   )     write(fd,data,n)

Definition at line 55 of file Signal.h.

#define SA_SIGINFO   0

Definition at line 23 of file Signal.h.

Referenced by dosigaction(), enableSignalHandler(), and setupTimer().

#define si_int   si_signo ? 0 : 0

Definition at line 36 of file Signal.h.

#define si_ptr   si_signo ? (void *) 0 : (void *) 0

Definition at line 37 of file Signal.h.

#define si_stime   si_signo ? 0 : 0

Definition at line 29 of file Signal.h.

#define si_utime   si_signo ? 0 : 0

Definition at line 28 of file Signal.h.

#define STDERR_HANDLE   STDERR_FILENO

Definition at line 45 of file Signal.h.


Variable Documentation

const int SIGNAL_MESSAGE_BUFSIZE = 256 [static]

Maximum length of a signal message.

Used for local format buffers for the signal number and name message in Signal::fataldump() and the currently loaded shared library message in SignalLibDump(). Make this long enough to fit long shared library names.

Definition at line 64 of file Signal.h.


Generated on Tue Jun 9 17:54:15 2009 for CMSSW by  doxygen 1.5.4