diff options
Diffstat (limited to 'ace/ace_sys_signal.h')
-rw-r--r-- | ace/ace_sys_signal.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/ace/ace_sys_signal.h b/ace/ace_sys_signal.h new file mode 100644 index 00000000000..a01fa2854e5 --- /dev/null +++ b/ace/ace_sys_signal.h @@ -0,0 +1,39 @@ +/* -*- C++ -*- */ + +//============================================================================= +/** + * @file ace_sys_signal.h + * + * $Id$ + * + * @author Douglas C. Schmidt (schmidt@cs.wustl.edu) + * @author etc + */ +//============================================================================= + +#ifndef ACE_ACE_SYS_SIGNAL_H +#define ACE_ACE_SYS_SIGNAL_H +#include "ace/pre.h" + +#include "ace/config-all.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + + +#include /**/ <sys/signal.h> + +// this doesn't belong here, but until I get an ace_aio.h file, here will be fine. +// Defining POSIX4 real-time signal range. +# if defined ACE_HAS_AIO_CALLS +# define ACE_SIGRTMIN SIGRTMIN +# define ACE_SIGRTMAX SIGRTMAX +# else /* !ACE_HAS_AIO_CALLS */ +# define ACE_SIGRTMIN 0 +# define ACE_SIGRTMAX 0 +# endif /* ACE_HAS_AIO_CALLS */ + + + +#endif /* ACE_ACE_SYS_SIGNAL_H */ |