summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog11
-rw-r--r--ChangeLogs/ChangeLog-02a11
-rw-r--r--ChangeLogs/ChangeLog-03a11
-rw-r--r--ace/config-linux-common.h4
-rw-r--r--tests/MEM_Stream_Test.cpp2
5 files changed, 38 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6b659f3127e..8b8936f8a20 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+Wed Apr 25 03:45:55 2001 Nanbor Wang <nanbor@cs.wustl.edu>
+
+ * tests/MEM_Stream_Test.cpp: Temporarily changed the informational
+ message about the use SYSV semaphores to LM_ERROR so we can find
+ those platforms out quicker. Many of them may actually support
+ POSIX semaphores. We need to enable them in that case.
+
+ * ace/config-linux-common.h: Added ACE_HAS_POSIX_SEM and
+ ACE_LACKS_NAMED_POSIX_SEM. Linux actually support them. I'm
+ not sure if there are any version of linux that don't.
+
Wed Apr 25 03:15:34 2001 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Malloc.h:
diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a
index 6b659f3127e..8b8936f8a20 100644
--- a/ChangeLogs/ChangeLog-02a
+++ b/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,14 @@
+Wed Apr 25 03:45:55 2001 Nanbor Wang <nanbor@cs.wustl.edu>
+
+ * tests/MEM_Stream_Test.cpp: Temporarily changed the informational
+ message about the use SYSV semaphores to LM_ERROR so we can find
+ those platforms out quicker. Many of them may actually support
+ POSIX semaphores. We need to enable them in that case.
+
+ * ace/config-linux-common.h: Added ACE_HAS_POSIX_SEM and
+ ACE_LACKS_NAMED_POSIX_SEM. Linux actually support them. I'm
+ not sure if there are any version of linux that don't.
+
Wed Apr 25 03:15:34 2001 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Malloc.h:
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index 6b659f3127e..8b8936f8a20 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,3 +1,14 @@
+Wed Apr 25 03:45:55 2001 Nanbor Wang <nanbor@cs.wustl.edu>
+
+ * tests/MEM_Stream_Test.cpp: Temporarily changed the informational
+ message about the use SYSV semaphores to LM_ERROR so we can find
+ those platforms out quicker. Many of them may actually support
+ POSIX semaphores. We need to enable them in that case.
+
+ * ace/config-linux-common.h: Added ACE_HAS_POSIX_SEM and
+ ACE_LACKS_NAMED_POSIX_SEM. Linux actually support them. I'm
+ not sure if there are any version of linux that don't.
+
Wed Apr 25 03:15:34 2001 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Malloc.h:
diff --git a/ace/config-linux-common.h b/ace/config-linux-common.h
index 0e609e09d7c..b725bc4b5f3 100644
--- a/ace/config-linux-common.h
+++ b/ace/config-linux-common.h
@@ -242,6 +242,10 @@
// Compiler/platform defines the sig_atomic_t typedef.
#define ACE_HAS_SIG_ATOMIC_T
+// Support for POSIX semaphore
+#define ACE_HAS_POSIX_SEM
+#define ACE_LACKS_NAMED_POSIX_SEM
+
// Compiler/platform defines a union semun for SysV shared memory.
#define ACE_HAS_SEMUN
diff --git a/tests/MEM_Stream_Test.cpp b/tests/MEM_Stream_Test.cpp
index 9ba0d146b91..28f02ecb12a 100644
--- a/tests/MEM_Stream_Test.cpp
+++ b/tests/MEM_Stream_Test.cpp
@@ -350,7 +350,7 @@ main (int, ACE_TCHAR *[])
test_multithreaded (server_addr);
#if !defined (ACE_WIN32) && !defined (ACE_HAS_POSIX_SEM) && !defined (ACE_PSOS)
- ACE_ERROR ((LM_INFO,
+ ACE_ERROR ((LM_ERROR,
ACE_TEXT ("\n *** Platform only support non-scalable SysV semaphores ***\n\n")));
#endif /* !ACE_WIN32 && !ACE_HAS_POSIX_SEM && !ACE_PSOS */