diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-05-27 23:50:50 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-05-27 23:50:50 +0000 |
commit | 4724472890257ce375ebbf51bc57548face5d8a9 (patch) | |
tree | 8d662c6536b92aa75d226f51e828b5953c53176f | |
parent | eeaceb3fe9cab9715ee6009a8b0a7e4ad3abce3e (diff) | |
download | ATCD-4724472890257ce375ebbf51bc57548face5d8a9.tar.gz |
*** empty log message ***
-rw-r--r-- | ChangeLog-97a | 14 | ||||
-rw-r--r-- | README | 1 | ||||
-rw-r--r-- | ace/Local_Tokens.h | 1 | ||||
-rw-r--r-- | ace/Local_Tokens_T.cpp | 2 | ||||
-rw-r--r-- | ace/Local_Tokens_T.h | 3 | ||||
-rw-r--r-- | ace/Local_Tokens_T.i | 2 | ||||
-rw-r--r-- | ace/config-hpux-10.x-decthreads.h | 152 |
7 files changed, 173 insertions, 2 deletions
diff --git a/ChangeLog-97a b/ChangeLog-97a index 92db8262c55..d0bdd281964 100644 --- a/ChangeLog-97a +++ b/ChangeLog-97a @@ -1,6 +1,20 @@ +Tue May 27 18:26:51 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu> + + * ace/config-hpux-10.x-decthreads.h: Added support for HP/UX 10.10 + with DCE threads. Thanks to Shankar Krishnamoorthy + <kshankar@lucent.com> for these fixes. + + * ace/Local_Tokens_T.h: #if def'd out all of this file since it + doesn't seem to be used anymore. Thanks to Shankar + Krishnamoorthy <kshankar@lucent.com> for reporting this. + + * ace/Makefile (TEMPLATE_FILES): Removed Local_Tokens_T since it + doesn't appear to be used anywhere. + Tue May 27 18:47:34 1997 James C Hu <jxh@lambada.cs.wustl.edu> * tests/*.cpp: Various changes for EBCIDIC compatibility. + Thanks to Chuck Gehr for pointing out the need for this! * tests/test_config.h: Added ACE_ALPHABET to aid a-z sending and comparing. @@ -515,6 +515,7 @@ Eugene R. Somdahl <gene@endo.com> Robert Head <rhead@mail.virtc.com> Ivan Murphy <Ivan.Murphy@med.siemens.de> Jan Perman <uabjjpp@osd.ericsson.se> +Shankar Krishnamoorthy <kshankar@lucent.com> I would particularly like to thank Paul Stephenson, who worked with me at Ericsson and is now at ObjectSpace. Paul devised the recursive diff --git a/ace/Local_Tokens.h b/ace/Local_Tokens.h index 5663e0913d0..3cd9c688b0f 100644 --- a/ace/Local_Tokens.h +++ b/ace/Local_Tokens.h @@ -641,7 +641,6 @@ private: // Name of the token. }; - // 7.. class ACE_Export ACE_Token_Proxy // = TITLE diff --git a/ace/Local_Tokens_T.cpp b/ace/Local_Tokens_T.cpp index c28e62feb31..1be17133702 100644 --- a/ace/Local_Tokens_T.cpp +++ b/ace/Local_Tokens_T.cpp @@ -1,6 +1,7 @@ // Local_Tokens_T.cpp // $Id$ +#if 0 #if !defined (ACE_LOCAL_TOKENS_T_C) #define ACE_LOCAL_TOKENS_T_C @@ -53,3 +54,4 @@ ACE_Token_Name<TYPE>::dump (void) const } #endif /* ACE_LOCAL_TOKENS_T_C */ +#endif /* 0 */ diff --git a/ace/Local_Tokens_T.h b/ace/Local_Tokens_T.h index c8a5f21db2a..a47651eeaa8 100644 --- a/ace/Local_Tokens_T.h +++ b/ace/Local_Tokens_T.h @@ -1,7 +1,6 @@ /* -*- C++ -*- */ // $Id$ - // ============================================================================ // // = LIBRARY @@ -21,6 +20,7 @@ // // ============================================================================ +#if 0 #if !defined (ACE_LOCAL_TOKENS_T_H) #define ACE_LOCAL_TOKENS_T_H @@ -93,3 +93,4 @@ private: #endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ #endif /* ACE_LOCAL_TOKENS_T_H */ +#endif /* 0 */ diff --git a/ace/Local_Tokens_T.i b/ace/Local_Tokens_T.i index 1eb8881a464..eb356d1ae9a 100644 --- a/ace/Local_Tokens_T.i +++ b/ace/Local_Tokens_T.i @@ -2,6 +2,7 @@ // $Id$ // Local_Tokens_T.i +#if 0 template <class TYPE> ACE_INLINE void ACE_Token_Name<TYPE>::operator= (const ACE_Token_Name<TYPE> &rhs) @@ -63,3 +64,4 @@ ACE_Token_Name<TYPE>::type (TYPE type) this->type_ = type; } +#endif /* 0 */ diff --git a/ace/config-hpux-10.x-decthreads.h b/ace/config-hpux-10.x-decthreads.h new file mode 100644 index 00000000000..b28e0b40f58 --- /dev/null +++ b/ace/config-hpux-10.x-decthreads.h @@ -0,0 +1,152 @@ +/* -*- C++ -*- */ +// $Id$ + +// The following configuration file is designed to work for HP +// platforms running HP/UX 10.x with DCE threads. Contributed by +// Shankar Krishnamoorthy <kshankar@lucent.com>. +// +// To use HP/C++ you need some patches, the following set +// +// PHSS_9855 +// PHSS_9096 +// PHSS_10261 +// PHSS_9062 +// PHSS_7505 +// PHSS_8490 +// +// worked for me (Carlos O'Ryan), but you should check by yourself. +// The most important one is PHSS_9855, but in depends on some of the +// others. + +#if !defined (ACE_CONFIG_H) +#define ACE_CONFIG_H + +// Compiling for HPUX. +#if !defined (HPUX) +#define HPUX +#endif /* HPUX */ + +// The HP/UX compiler doesn't support volatile!!!! +#define volatile + +#define ACE_HAS_BROKEN_ENUMS + +#define _HPUX_SOURCE +#include /**/ <sys/stdsyms.h> +#include /**/ <sched.h> /* pthread.h doesn't include this */ + +// Compiler's template mechanism must see source code (i.e., .C files). +#define ACE_TEMPLATES_REQUIRE_SOURCE +#define ACE_TEMPLATES_REQUIRE_SPECIALIZATION + +#define ACE_HAS_BROKEN_CONVERSIONS + +// They forgot a const in the prototype of const_timewait... +#define ACE_LACKS_CONST_TIMESPEC_PTR + +#define ACE_LACKS_SYSCALL +#define ACE_HAS_POSIX_TIME +#define ACE_HAS_IP_MULTICAST +#define ACE_HAS_CLOCK_GETTIME + +// Platform supports System V IPC (most versions of UNIX, but not Win32) +#define ACE_HAS_SYSV_IPC + +// Platform supports recvmsg and sendmsg. +#define ACE_HAS_MSG + +// Compiler/platform contains the <sys/syscall.h> file. +#define ACE_HAS_SYSCALL_H + +// Fixes a problem with HP/UX not wrapping the mmap(2) header files +// with extern "C". +#define ACE_HAS_BROKEN_MMAP_H + +// Prototypes for both signal() and struct sigaction are consistent. +#define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES + +// Compiler/platform has correctly prototyped header files. +#define ACE_HAS_CPLUSPLUS_HEADERS + +// Header files lack t_errno for ACE_TLI. +#define ACE_LACKS_T_ERRNO + +// Compiler/platform supports poll(). +#define ACE_HAS_POLL + +// Platform supports POSIX O_NONBLOCK semantics. +#define ACE_HAS_POSIX_NONBLOCK + +// Compiler/platform defines the sig_atomic_t typedef +#define ACE_HAS_SIG_ATOMIC_T + +// If you don't want to use threads make sure to comment out the +// folowing block of #defines +#define ACE_HAS_THREADS +// #define ACE_HAS_PTHREADS +#define ACE_HAS_DCETHREADS /* added by shankar */ +#define ACE_HAS_PTHREAD_T /* added by shankar */ +#define ACE_SELECT_USES_INT /* added by shankar */ +#define ACE_HAS_TID_T /* added by shankar */ +#define ACE_LACKS_SETSCHED /* added by shankar */ +#define ACE_LACKS_RWLOCK_T +#define ACE_MT_SAFE +#define ACE_HAS_SIGINFO_T +#define ACE_LACKS_PTHREAD_THR_SIGSETMASK +#define ACE_HAS_SETKIND_NP +#define ACE_LACKS_CONDATTR_PSHARED +#define ACE_LACKS_SI_ADDR +#define ACE_LACKS_SETDETACH /* new */ +#define ACE_LACKS_KEYDELETE /* new */ +#define ACE_LACKS_THREAD_PROCESS_SCOPING +#define ACE_LACKS_THREAD_STACK_ADDR +#define ACE_HAS_THREAD_SPECIFIC_STORAGE +#define ACE_HAS_STREAMS + +// Compiler/platform supports struct strbuf. +#define ACE_HAS_STRBUF_T + +// Compiler supports the ssize_t typedef. +#define ACE_HAS_SSIZE_T + +// Defines the page size of the system. +#define ACE_PAGE_SIZE 4096 + +// Compiler/platform supports strerror (). +#define ACE_HAS_STRERROR + +// ??? +#define ACE_HAS_SUNOS4_GETTIMEOFDAY + +// HP/UX has an undefined syscall for GETRUSAGE... +#define ACE_HAS_SYSCALL_GETRUSAGE + +// Note, this only works if the flag is set above! +#define ACE_HAS_GETRUSAGE + +#define ACE_HAS_SIGINFO_T +#define ACE_HAS_UCONTEXT_T + +// Platform uses int for select() rather than fd_set. +// #define ACE_SELECT_USES_INT + +// Platform has the XLI version of ACE_TLI. +// #define ACE_HAS_XLI + +// Platform supports ACE_TLI tiuser header. +#define ACE_HAS_TIUSER_H + +// Platform provides ACE_TLI function prototypes. +#define ACE_HAS_TLI_PROTOTYPES + +// Platform supports ACE_TLI. +#define ACE_HAS_TLI + +#define ACE_NEEDS_DEV_IO_CONVERSION + +// Turns off the tracing feature. +#if !defined (ACE_NTRACE) +#define ACE_NTRACE 1 +#endif /* ACE_NTRACE */ + +#endif /* ACE_CONFIG_H */ |