From 85a0f008b3242499042d1f3a477a0ac68b02a852 Mon Sep 17 00:00:00 2001 From: elliott_c Date: Mon, 5 Nov 2001 19:05:20 +0000 Subject: ChangeLogTag: Mon Nov 5 13:02:50 2001 Chad Elliott --- ChangeLog | 12 ++++++++++++ ChangeLogs/ChangeLog-02a | 12 ++++++++++++ ChangeLogs/ChangeLog-03a | 12 ++++++++++++ ace/OS.cpp | 3 ++- ace/config-hpux-11.00.h | 2 ++ 5 files changed, 40 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 25e4b1dde64..eac8b42c08d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +Mon Nov 5 13:02:50 2001 Chad Elliott + + * ace/config-hpux-11.00.h: + + Added #define of ACE_HAS_CHARPTR_DL. This corresponds with the + declaration of dlopen(char*,unsigned int). + + * ace/OS.cpp: + + Changed the default thread scope to system (similar to Linux). + Process thread scope is not supported in HP-UX. + Sun Nov 04 11:18:31 2001 Nanbor Wang * ace/OS.cpp (fopen): Changed to forward call to fopen instead of diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a index 25e4b1dde64..eac8b42c08d 100644 --- a/ChangeLogs/ChangeLog-02a +++ b/ChangeLogs/ChangeLog-02a @@ -1,3 +1,15 @@ +Mon Nov 5 13:02:50 2001 Chad Elliott + + * ace/config-hpux-11.00.h: + + Added #define of ACE_HAS_CHARPTR_DL. This corresponds with the + declaration of dlopen(char*,unsigned int). + + * ace/OS.cpp: + + Changed the default thread scope to system (similar to Linux). + Process thread scope is not supported in HP-UX. + Sun Nov 04 11:18:31 2001 Nanbor Wang * ace/OS.cpp (fopen): Changed to forward call to fopen instead of diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a index 25e4b1dde64..eac8b42c08d 100644 --- a/ChangeLogs/ChangeLog-03a +++ b/ChangeLogs/ChangeLog-03a @@ -1,3 +1,15 @@ +Mon Nov 5 13:02:50 2001 Chad Elliott + + * ace/config-hpux-11.00.h: + + Added #define of ACE_HAS_CHARPTR_DL. This corresponds with the + declaration of dlopen(char*,unsigned int). + + * ace/OS.cpp: + + Changed the default thread scope to system (similar to Linux). + Process thread scope is not supported in HP-UX. + Sun Nov 04 11:18:31 2001 Nanbor Wang * ace/OS.cpp (fopen): Changed to forward call to fopen instead of diff --git a/ace/OS.cpp b/ace/OS.cpp index 24babd3effc..839d1b01d43 100644 --- a/ace/OS.cpp +++ b/ace/OS.cpp @@ -3173,8 +3173,9 @@ ACE_OS::thr_create (ACE_THR_FUNC func, if (ACE_BIT_ENABLED (flags, THR_SCOPE_SYSTEM) || ACE_BIT_ENABLED (flags, THR_SCOPE_PROCESS)) { -# if defined (ACE_CONFIG_LINUX_H) +# if defined (ACE_CONFIG_LINUX_H) || defined (HPUX) // LinuxThreads do not have support for PTHREAD_SCOPE_PROCESS. + // Neither does HPUX (up to HP-UX 11.00, as far as I know). int scope = PTHREAD_SCOPE_SYSTEM; # else /* ACE_CONFIG_LINUX_H */ int scope = PTHREAD_SCOPE_PROCESS; diff --git a/ace/config-hpux-11.00.h b/ace/config-hpux-11.00.h index 2d17e91f932..2ee406f5e8a 100644 --- a/ace/config-hpux-11.00.h +++ b/ace/config-hpux-11.00.h @@ -320,6 +320,8 @@ // Platform lacks a typedef for timespec_t, but has struct timespec #define ACE_LACKS_TIMESPEC_T +// dlopen() takes a char* instead of const char* +#define ACE_HAS_CHARPTR_DL // Shared library name/path components #define ACE_DLL_SUFFIX ".sl" -- cgit v1.2.1