summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2001-11-05 19:05:20 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2001-11-05 19:05:20 +0000
commit85a0f008b3242499042d1f3a477a0ac68b02a852 (patch)
tree834e100e2f4a58ebf202c5ddc6f501f1489e8762
parent5b7eaf9e737c779daf597731793794a84f44022d (diff)
downloadATCD-85a0f008b3242499042d1f3a477a0ac68b02a852.tar.gz
ChangeLogTag: Mon Nov 5 13:02:50 2001 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r--ChangeLog12
-rw-r--r--ChangeLogs/ChangeLog-02a12
-rw-r--r--ChangeLogs/ChangeLog-03a12
-rw-r--r--ace/OS.cpp3
-rw-r--r--ace/config-hpux-11.00.h2
5 files changed, 40 insertions, 1 deletions
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 <elliott_c@ociweb.com>
+
+ * 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 <nanbor@cs.wustl.edu>
* 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 <elliott_c@ociweb.com>
+
+ * 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 <nanbor@cs.wustl.edu>
* 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 <elliott_c@ociweb.com>
+
+ * 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 <nanbor@cs.wustl.edu>
* 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"