summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-08 02:42:34 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-08 02:42:34 +0000
commit634c6f2389f6575ae76c321ce906dad9b83157c0 (patch)
tree1fac1f88a900ad51d6197f860a07e7efb6cef8c1
parent960f7a384b01ad9029483986d2bc1992e9a419b8 (diff)
downloadATCD-634c6f2389f6575ae76c321ce906dad9b83157c0.tar.gz
ChangeLogTag: Wed Jul 07 21:37:33 1999 David L. Levine <levine@cs.wustl.edu>
-rw-r--r--ACE-INSTALL.html10
-rw-r--r--ChangeLog-99b96
-rw-r--r--tests/Process_Mutex_Test.cpp14
-rw-r--r--tests/test_config.h9
4 files changed, 69 insertions, 60 deletions
diff --git a/ACE-INSTALL.html b/ACE-INSTALL.html
index 723b0d9e529..f7410dac842 100644
--- a/ACE-INSTALL.html
+++ b/ACE-INSTALL.html
@@ -428,17 +428,13 @@ make: *** [libACE.so] Error 8
HREF="mailto:chiang@tele.nokia.fi">chiang@tele.nokia.fi</A>&gt
has ported ACE to Chorus 3.1 using GNU g++ 2.7.2.<P>
- <LI><B><a name="LynxOS">LynxOS</a></B> <P>
+ <LI><B><a name="LynxOS">LynxOS</a></B><P>
- ACE builds and runs properly on LynxOS 3.0.0 for Intel targets.
+ ACE builds and runs properly on LynxOS 3.0.0 for Intel and
+ PowerPC targets.
ACE's Naming_Test fails; it is disabled in <a
href="tests/run_tests.sh"><code>ACE_wrappers/tests/run_tests.sh</code></a>.<p>
- ACE builds cleanly on LynxOS 3.0.0 for PowerPC targets. For the
- most part, it runs properly. But, there appears to be a problem
- with registering signal handlers. So, some of the ACE tests seg
- fault when attempting to do that.<p>
-
If you run out of memory on LynxOS, these might help:<p>
<ul>
diff --git a/ChangeLog-99b b/ChangeLog-99b
index e665703f7d6..a5cac06a98b 100644
--- a/ChangeLog-99b
+++ b/ChangeLog-99b
@@ -1,3 +1,17 @@
+Wed Jul 07 21:37:33 1999 David L. Levine <levine@cs.wustl.edu>
+
+ * tests/test_config.h: removed special ACE_MAX_PROCESSES
+ and ACE_MAX_THREADS values for LynxOS, because most
+ tests don't need them.
+
+ * tests/Process_Mutex_Test.cpp: use only 4 processes
+ instead of ACE_MAX_PROCESSES, on LynxOS only. Otherwise,
+ the test's ACE_LOG_MSG->op_status assertion fails.
+
+ * ACE-INSTALL.html: removed statements about some tests
+ failing on LynxOS/PPC. Just Naming_Test and
+ MM_Shared_Memory_Test fail now.
+
Wed Jul 07 19:51:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/config-ghs-common.h: removed use of native auto_ptrs, as they
@@ -5,17 +19,17 @@ Wed Jul 07 19:51:00 1999 Chris Gill <cdgill@cs.wustl.edu>
Wed Jul 7 17:17:10 1999 Ossama Othman <othman@cs.wustl.edu>
- * ace/ARGV.cpp (ACE_ARGV):
- * ace/OS.cpp (ACE_OS_Recursive_Thread_Mutex_Guard):
- * ace/Sched_Params.i (ACE_Sched_Priority_Iterator):
+ * ace/ARGV.cpp (ACE_ARGV):
+ * ace/OS.cpp (ACE_OS_Recursive_Thread_Mutex_Guard):
+ * ace/Sched_Params.i (ACE_Sched_Priority_Iterator):
- Added some class members to the member initializer lists to fix
- some "Effective C++" warnings from EGCS.
+ Added some class members to the member initializer lists to fix
+ some "Effective C++" warnings from EGCS.
Wed Jul 7 16:33:29 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
- * tests/Cached_Conn_Test.cpp (main): Added default testing of LRU,
- LFU, FIFO caching strategies.
+ * tests/Cached_Conn_Test.cpp (main): Added default testing of LRU,
+ LFU, FIFO caching strategies.
* tests/Cached_Conn_Test.cpp (parse_args):
* tests/Cache_Map_Manager_Test (parse_args):
@@ -35,43 +49,43 @@ Wed Jul 07 16:06:45 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Recursive_Mutex_Test.cpp: explicitly set the
stack size. This solves the problem on LynxOS/PPC, below, so
- the 65-iteration workaround was removed. Thanks to Doug for
- this suggestion.
+ the 65-iteration workaround was removed. Thanks to Doug for
+ this suggestion.
Wed Jul 7 13:27:53 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
- * ace/config-win32-borland.h,
- ace/config-win32.h: Added support for the ACE::major_versions(), etc.
- for PC versions of ACE, as well as UNIX. Thanks to
- Jeff Hellzen <jhellzen@my-deja.com> for suggesting this.
-
- * ace: Added a new Based_Pointer_T.i file that inlines the
- small methods.
-
- * ace/Malloc[_T]: Cleaned up the code so that we can use the
- ACE_Based_Pointer<> consistently when
- ACE_HAS_POSITION_INDEPENDENT_MALLOC is enabled and disable.
-
- * ace/Malloc.h: By default, ACE_MALLOC_PADDING is set to 1 so that
- we don't get "divide by zero" errors. However, it's only used
- in the computation of the ACE_Malloc_Header if it's > 1.
-
- * config-aix-4.x.h,
- config-lynxos.h,
- config-psos-diab-mips.h,
- config-psos-diab-ppc.h,
- config-psos-diab.h,
- config-psos-tm.h,
- config-psosim-g++.h,
- config-sunos5.5.h:
- Removed the ACE_MALLOC_ALIGN macro since it should no longer
- be necessary.
-
- * ace/Malloc.h: Renamed the macro ACE_MALLOC_ALIGN to
- ACE_MALLOC_PADDING, which is more descriptive. However, I've
- retained ACE_MALLOC_ALIGN for backwards compatibility to keep
- Steve Huston happy ;-).
-
+ * ace/config-win32-borland.h,
+ ace/config-win32.h: Added support for the ACE::major_versions(), etc.
+ for PC versions of ACE, as well as UNIX. Thanks to
+ Jeff Hellzen <jhellzen@my-deja.com> for suggesting this.
+
+ * ace: Added a new Based_Pointer_T.i file that inlines the
+ small methods.
+
+ * ace/Malloc[_T]: Cleaned up the code so that we can use the
+ ACE_Based_Pointer<> consistently when
+ ACE_HAS_POSITION_INDEPENDENT_MALLOC is enabled and disable.
+
+ * ace/Malloc.h: By default, ACE_MALLOC_PADDING is set to 1 so that
+ we don't get "divide by zero" errors. However, it's only used
+ in the computation of the ACE_Malloc_Header if it's > 1.
+
+ * config-aix-4.x.h,
+ config-lynxos.h,
+ config-psos-diab-mips.h,
+ config-psos-diab-ppc.h,
+ config-psos-diab.h,
+ config-psos-tm.h,
+ config-psosim-g++.h,
+ config-sunos5.5.h:
+ Removed the ACE_MALLOC_ALIGN macro since it should no longer
+ be necessary.
+
+ * ace/Malloc.h: Renamed the macro ACE_MALLOC_ALIGN to
+ ACE_MALLOC_PADDING, which is more descriptive. However, I've
+ retained ACE_MALLOC_ALIGN for backwards compatibility to keep
+ Steve Huston happy ;-).
+
* Fixed a typo in the TAO-mail.html program where ace-*
should have been tao-*. Thanks to Pedro Alves Ferreira
<pedro.ferreira@inescn.pt> for reporting this.
diff --git a/tests/Process_Mutex_Test.cpp b/tests/Process_Mutex_Test.cpp
index f2644810065..58f905b3d25 100644
--- a/tests/Process_Mutex_Test.cpp
+++ b/tests/Process_Mutex_Test.cpp
@@ -32,6 +32,11 @@ USELIB("..\ace\aced.lib");
static int release_mutex = 1;
static int child_process = 0;
static const char *mutex_name = ACE_DEFAULT_MUTEX_A;
+#if defined (__Lynx__)
+ static const unsigned int processes = 4;
+#else /* ! __Lynx__ */
+ static const unsigned int processes = ACE_MAX_PROCESSES;
+#endif /* ! __Lynx__ */
// Explain usage and exit.
static void
@@ -135,12 +140,11 @@ main (int argc, ASYS_TCHAR *argv[])
ACE_TEXT (" -c -n %s"),
ACE_WIDE_STRING (mutex_name));
- // Spawn ACE_MAX_PROCESSES processes that will contend for the
- // lock.
- ACE_Process servers[ACE_MAX_PROCESSES];
+ // Spawn processes that will contend for the lock.
+ ACE_Process servers[processes];
size_t i;
- for (i = 0; i < ACE_MAX_PROCESSES; i++)
+ for (i = 0; i < processes; i++)
{
ACE_ASSERT (servers[i].spawn (options) != -1);
ACE_DEBUG ((LM_DEBUG,
@@ -148,7 +152,7 @@ main (int argc, ASYS_TCHAR *argv[])
servers[i].getpid ()));
}
- for (i = 0; i < ACE_MAX_PROCESSES; i++)
+ for (i = 0; i < processes; i++)
{
// Wait for the process we created to exit.
ACE_ASSERT (servers[i].wait () != -1);
diff --git a/tests/test_config.h b/tests/test_config.h
index a2cc664ff5d..218d41bbe2e 100644
--- a/tests/test_config.h
+++ b/tests/test_config.h
@@ -126,13 +126,8 @@ const size_t ACE_MAX_TIMERS = 4;
const size_t ACE_MAX_DELAY = 10;
const size_t ACE_MAX_INTERVAL = 0;
const size_t ACE_MAX_ITERATIONS = 10;
-#if defined (__Lynx__)
- const size_t ACE_MAX_PROCESSES = 4;
- const size_t ACE_MAX_THREADS = 2;
-#else /* ! __Lynx__ */
- const size_t ACE_MAX_PROCESSES = 10;
- const size_t ACE_MAX_THREADS = 4;
-#endif /* ! __Lynx__ */
+const size_t ACE_MAX_PROCESSES = 10;
+const size_t ACE_MAX_THREADS = 4;
char ACE_ALPHABET[] = "abcdefghijklmnopqrstuvwxyz";