diff options
author | Steve Huston <shuston@riverace.com> | 1998-08-18 19:17:15 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 1998-08-18 19:17:15 +0000 |
commit | 343a53fb366715e31df8b0fd430d3d5886d29936 (patch) | |
tree | e4978a0af816c219f7d661e32a12839791f03b8a /ace/config-hpux11.h | |
parent | 8ca53afcb88cfbcec67bed7f7809d35b137c8221 (diff) | |
download | ATCD-343a53fb366715e31df8b0fd430d3d5886d29936.tar.gz |
Switch support for threads on and off based on ACE_HAS_THREADS def set in
platform macros file.
Diffstat (limited to 'ace/config-hpux11.h')
-rw-r--r-- | ace/config-hpux11.h | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/ace/config-hpux11.h b/ace/config-hpux11.h index e95f26d481d..e4dcf36baaf 100644 --- a/ace/config-hpux11.h +++ b/ace/config-hpux11.h @@ -192,23 +192,29 @@ // // Threads information. // +// Use of threads is controlled by the 'threads' argument to make. See +// include/makeinclude/platform_hpux_aCC.GNU for details. +// //////////////////////////////////////////////////////////////////////// -#if !defined (ACE_MT_SAFE) -# define ACE_MT_SAFE 1 -#endif +#if defined (ACE_HAS_THREADS) -#define ACE_HAS_THREADS -#define ACE_HAS_PTHREADS -#define ACE_HAS_PTHREADS_STD -#define ACE_HAS_POSIX_SEM -#define ACE_HAS_PTHREAD_T -#define ACE_HAS_PTHREAD_EQUAL +# if !defined (ACE_MT_SAFE) +# define ACE_MT_SAFE 1 +# endif -#define ACE_HAS_THREAD_SPECIFIC_STORAGE +# define ACE_HAS_PTHREADS +# define ACE_HAS_PTHREADS_STD +# define ACE_HAS_PTHREAD_T +# define ACE_HAS_PTHREAD_EQUAL + +# define ACE_HAS_THREAD_SPECIFIC_STORAGE // Platform has pthread_sigmask defined -#define ACE_HAS_PTHREAD_SIGMASK +# define ACE_HAS_PTHREAD_SIGMASK +#endif /* ACE_HAS_THREADS */ + +#define ACE_HAS_POSIX_SEM // Turns off the tracing feature. // To build with tracing enabled, make sure ACE_NTRACE is not defined |