diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-04-08 05:18:10 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-04-08 05:18:10 +0000 |
commit | e4894a0963928fee242ff41d9d76fe5f90061cd7 (patch) | |
tree | 52955f0d24b2b8012521d03c2463576bc82d62bd | |
parent | 6e9c7472e85327527af1507e67517c9b6387c778 (diff) | |
download | ATCD-e4894a0963928fee242ff41d9d76fe5f90061cd7.tar.gz |
*** empty log message ***
-rw-r--r-- | ChangeLog-97a | 21 | ||||
-rw-r--r-- | ace/Log_Msg.cpp | 4 | ||||
-rw-r--r-- | ace/config-hpux-10.x-g++.h | 3 | ||||
-rw-r--r-- | ace/config-hpux-10.x.h | 7 |
4 files changed, 32 insertions, 3 deletions
diff --git a/ChangeLog-97a b/ChangeLog-97a index 12ef3b4464e..e82d3957664 100644 --- a/ChangeLog-97a +++ b/ChangeLog-97a @@ -1,3 +1,24 @@ +Tue Apr 8 00:04:22 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu> + + * ace/config-hpux-10.x[-g++].h: Added #define + ACE_HAS_CLOCK_GETTIME. Thanks to Neil B. Cohen <nbc@metsci.com> + for reporting this. + + * ace/config-hpux-10.x[-g++].h: Added ACE_HAS_IP_MULTICAST and removed + ACE_LACKS_STRRECVFD. Thanks to Neil B. Cohen <nbc@metsci.com> + for reporting this. + + * ace/config-hpux-10.x.h: Apparently some HP/UX 10.x C++ compilers + don't support volatile, so I #defined it away as a macro. + Thanks to Neil B. Cohen <nbc@metsci.com> for reporting this. + + * ace/Log_Msg.cpp: Put a #if defined (ACE_MT_SAFE) around the + entire Log_Msg destructor. Thanks to Neil B. Cohen + <nbc@metsci.com> for reporting this. + + * ace/config-hpux-10.x[-g++].h: Added #define ACE_HAS_STREAMS on + the recommendation of Neil B. Cohen <nbc@metsci.com>. + Mon Apr 07 12:08:21 1997 <harrison@samba.cs.wustl.edu> * ace/Set.cpp: For some reason, VC++ 5.0 doesn't like to have the diff --git a/ace/Log_Msg.cpp b/ace/Log_Msg.cpp index e5677d988b5..4201442c8ea 100644 --- a/ace/Log_Msg.cpp +++ b/ace/Log_Msg.cpp @@ -463,7 +463,7 @@ ACE_Log_Msg::~ACE_Log_Msg (void) // <program_name_> and <local_host_> strings weren't duplicated, in // order to avoid memory leaks, because this destructor can't tell // when the last thread in the program exits. -#if ! defined (VXWORKS) +#if !defined (VXWORKS) && defined (ACE_MT_SAFE) ACE_MT (ACE_GUARD (ACE_Thread_Mutex, ace_mon, *ACE_Log_Msg_Manager::get_lock ())); // If this is the last instance then cleanup. @@ -481,7 +481,7 @@ ACE_Log_Msg::~ACE_Log_Msg (void) ACE_Log_Msg::local_host_ = 0; } } -#endif /* ! VXWORKS */ +#endif /* !VXWORKS && ACE_MT_SAFE */ } // Open the sender-side of the Message ACE_Queue. diff --git a/ace/config-hpux-10.x-g++.h b/ace/config-hpux-10.x-g++.h index 265221695e3..c3bf2b57fdf 100644 --- a/ace/config-hpux-10.x-g++.h +++ b/ace/config-hpux-10.x-g++.h @@ -13,6 +13,7 @@ #endif /* HPUX */ #define ACE_HAS_BROKEN_CONVERSIONS +#define ACE_HAS_STREAMS // They forgot a const in the prototype of const_timewait... #define ACE_LACKS_CONST_TIMESPEC_PTR @@ -28,9 +29,11 @@ #define ACE_LACKS_SYSCALL #define ACE_LACKS_STRRECVFD #define ACE_HAS_POSIX_TIME +#define ACE_HAS_CLOCK_GETTIME // Platform supports System V IPC (most versions of UNIX, but not Win32) #define ACE_HAS_SYSV_IPC +#define ACE_HAS_IP_MULTICAST // Platform supports recvmsg and sendmsg. #define ACE_HAS_MSG diff --git a/ace/config-hpux-10.x.h b/ace/config-hpux-10.x.h index 594f6efa045..aca9d393d3c 100644 --- a/ace/config-hpux-10.x.h +++ b/ace/config-hpux-10.x.h @@ -17,6 +17,9 @@ #define ACE_HAS_BROKEN_HPUX_TEMPLATES #endif /* __cplusplus < 199707L */ +// The HP/UX compiler doesn't support volatile!!!! +#define volatile + #define _HPUX_SOURCE #include /**/ <sys/stdsyms.h> #include /**/ <sched.h> /* pthread.h doesn't include this */ @@ -27,8 +30,9 @@ #define ACE_LACKS_CONST_TIMESPEC_PTR #define ACE_LACKS_SYSCALL -#define ACE_LACKS_STRRECVFD #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 @@ -77,6 +81,7 @@ #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 |