diff options
author | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-12-16 02:36:01 +0000 |
---|---|---|
committer | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-12-16 02:36:01 +0000 |
commit | b5b5f8502b782ebe1f6e6d9426e5d5b6d6790f20 (patch) | |
tree | 6ea723fc7b3bbabca6d197c9fbcf6b3a971dfed0 | |
parent | 32ce3e16fbc8dc68bdbec274f22359567858c78c (diff) | |
download | ATCD-b5b5f8502b782ebe1f6e6d9426e5d5b6d6790f20.tar.gz |
ChangelogTag:
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | tests/MM_Shared_Memory_Test.cpp | 2 | ||||
-rw-r--r-- | tests/Reactor_Notify_Test.cpp | 2 | ||||
-rw-r--r-- | tests/Semaphore_Test.cpp | 2 | ||||
-rw-r--r-- | tests/TP_Reactor_Test.cpp | 2 |
5 files changed, 14 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog index 3052dda6b6b..0bbb81258e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +Mon Dec 15 20:34:31 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu> + + * tests/MM_Shared_Memory_Test.cpp: + * tests/Reactor_Notify_Test.cpp: + * tests/Semaphore_Test.cpp: + * tests/TP_Reactor_Test.cpp: + + More fixes like "Mon Dec 15 11:09:45 2003 Douglas C. Schmidt + <schmidt@ace.cs.wustl.edu>". Thanks to Don for motivating this. + Mon Dec 15 18:51:15 UTC 2003 Johnny Willemsen <jwillemsen@remedy.nl> * bin/MakeProjectCreator/templates/gnu.mpd: diff --git a/tests/MM_Shared_Memory_Test.cpp b/tests/MM_Shared_Memory_Test.cpp index dd40b680133..1e530fc1d7e 100644 --- a/tests/MM_Shared_Memory_Test.cpp +++ b/tests/MM_Shared_Memory_Test.cpp @@ -135,7 +135,7 @@ spawn (void) // to avoid race condition between the creation in the parent and // use in the child. ACE_NEW_RETURN (synchronizer, - SYNCHRONIZER (0), // Locked by default... + SYNCHRONIZER ((unsigned int)0), // Locked by default... -1); #if !defined (ACE_LACKS_FORK) diff --git a/tests/Reactor_Notify_Test.cpp b/tests/Reactor_Notify_Test.cpp index 0136a75f64c..016dcad943c 100644 --- a/tests/Reactor_Notify_Test.cpp +++ b/tests/Reactor_Notify_Test.cpp @@ -100,7 +100,7 @@ Supplier_Task::release (void) Supplier_Task::Supplier_Task (int disable_notify_pipe, const ACE_Time_Value &tv) - : waiter_ (0), // Make semaphore "locked" by default. + : waiter_ ((unsigned int) 0), // Make semaphore "locked" by default. disable_notify_pipe_ (disable_notify_pipe), long_timeout_ (tv.sec () == LONG_TIMEOUT) { diff --git a/tests/Semaphore_Test.cpp b/tests/Semaphore_Test.cpp index 3561fac9e7c..917d0f46ed8 100644 --- a/tests/Semaphore_Test.cpp +++ b/tests/Semaphore_Test.cpp @@ -44,7 +44,7 @@ static int test_result = 0; // Semaphore used in the tests. Start it "locked" (i.e., its initial // count is 0). -static ACE_Thread_Semaphore s (0); +static ACE_Thread_Semaphore s ((unsigned int) 0); // Default number of iterations. static int n_iterations = 10; diff --git a/tests/TP_Reactor_Test.cpp b/tests/TP_Reactor_Test.cpp index 58b8debf790..ef92b4e2b8c 100644 --- a/tests/TP_Reactor_Test.cpp +++ b/tests/TP_Reactor_Test.cpp @@ -128,7 +128,7 @@ public: class MyTask : public ACE_Task<ACE_MT_SYNCH> { public: - MyTask (void): sem_ (0), + MyTask (void): sem_ ((unsigned int) 0), my_reactor_ (0) {} virtual ~MyTask () { stop (); } |