diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-18 15:24:49 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-18 15:24:49 +0000 |
commit | 6b6adc10ec976e50fc83590a227607a12561a950 (patch) | |
tree | ff4a23705703a547c54b790f5be464af6f154228 | |
parent | b81f45557b57526007167ec8e91dd6156a5c8ebe (diff) | |
download | ATCD-6b6adc10ec976e50fc83590a227607a12561a950.tar.gz |
ChangeLogTag:Thu Jun 18 10:21:28 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
-rw-r--r-- | TAO/ChangeLog-98c | 54 | ||||
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Event/Event_Channel.cpp | 2 | ||||
-rw-r--r-- | TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp | 2 | ||||
-rw-r--r-- | TAO/tests/Cubit/TAO/MT_Cubit/Task_Client.cpp | 2 |
4 files changed, 57 insertions, 3 deletions
diff --git a/TAO/ChangeLog-98c b/TAO/ChangeLog-98c index a0b5cd3ed33..c9302ba6c74 100644 --- a/TAO/ChangeLog-98c +++ b/TAO/ChangeLog-98c @@ -1,3 +1,14 @@ +Thu Jun 18 10:21:28 1998 Carlos O'Ryan <coryan@cs.wustl.edu> + + * orbsvcs/orbsvcs/Event/Event_Channel.cpp: + Comparing an _var to a 0 is non-portable (and non-complaint), + the right thing to do is CORBA::is_nil. + + * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: + Comparing a Time_Value to 0 is a bad idea (we can convert the 0 + to a Time_Value or the Time_Value to an int), we compare to + ACE_Time_Value::zero. + Thu Jun 18 09:34:18 1998 David L. Levine <levine@cs.wustl.edu> * TAO_IDL/util/utl_scope.cpp (UTL_Scope ctor): removed @@ -278,6 +289,46 @@ Wed Jun 17 22:03:42 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu> Wed Jun 17 23:29:06 1998 Carlos O'Ryan <coryan@cs.wustl.edu> + * orbsvcs/orbsvcs/Event/Event_Channel.h: + * orbsvcs/orbsvcs/Event/Event_Channel.i: + * orbsvcs/orbsvcs/Event/Event_Channel.cpp: + Fixed many bugs in the disconnection code. The main ones were + related to memory managment (missing _duplicate() calls for + ES_Consumer_Rep objects) and to agressive memory release + (disconnecting a consumer could result in removing a critical + entry for the map of type consumers in a supplier, rendering the + supplier unusable). + The code more transparent for CORBA exceptions (it just passes + them back); but some places still catch them or create new + CORBA::Environment and/or signal errors using return values. + Looked more carefully at memory managment, but we still need + clean startup and shutdown to really track any problems in this + area. + Some stylistic changes here and there. + + * orbsvcs/tests/EC_Multiple/EC_Multiple.h: + * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: + Added an option to connect and disconnect the consumers and/or + suppliers before doing anything else. This was useful to debug + the EC. + + * orbsvcs/tests/EC_Multiple/Makefile: + Updated dependencies. + + * orbsvcs/tests/EC_Multiple/svc.conf: + Added more options to control the kind of lock used in the POA + and similar things. + + * orbsvcs/orbsvcs/Event/RT_Task.cpp: + Failing to run in the real-time class is only a warning, added + an explanation to the user in that sense. + + * orbsvcs/orbsvcs/Event/EC_Gateway.cpp: + Added debug messages (now commented out). + + * orbsvcs/orbsvcs/Event/CORBA_Utils_T.i: + Fixed off-by-one bug in Simple_Array_Iterator. + * orbsvcs/orbsvcs/Event/Event_Channel.h: * orbsvcs/orbsvcs/Event/Event_Channel.i: * orbsvcs/orbsvcs/Event/Event_Channel.cpp: @@ -312,6 +363,9 @@ Wed Jun 17 23:29:06 1998 Carlos O'Ryan <coryan@cs.wustl.edu> Failing to run in the real-time class is only a warning, added an explanation to the user in that sense. + * orbsvcs/orbsvcs/Event_Utilities.cpp: + Initialize the rt_info field to 0. + * orbsvcs/orbsvcs/Event/EC_Gateway.cpp: Added debug messages (now commented out). diff --git a/TAO/orbsvcs/orbsvcs/Event/Event_Channel.cpp b/TAO/orbsvcs/orbsvcs/Event/Event_Channel.cpp index d9718a101da..f676621168f 100644 --- a/TAO/orbsvcs/orbsvcs/Event/Event_Channel.cpp +++ b/TAO/orbsvcs/orbsvcs/Event/Event_Channel.cpp @@ -523,7 +523,7 @@ ACE_Push_Consumer_Proxy::push (const RtecEventComm::EventSet &events, { ACE_TIMEPROBE (TAO_EVENT_CHANNEL_DELIVER_EVENT_TO_CONSUMER_PROXY); - if (push_consumer_ == 0) + if (CORBA::is_nil (push_consumer_.in ())) { ACE_DEBUG ((LM_DEBUG, "(%t) Push to disconnected consumer %s\n", ::ACE_ES_Consumer_Name (this->qos ()))); diff --git a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp index 0f101ee7d38..d4c95c2c70d 100644 --- a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp +++ b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp @@ -954,7 +954,7 @@ Client::run_tests (Cubit_ptr cb, if (ts_->use_utilization_test_ == 1) { countdown.update (); - if (max_wait_time == 0) + if (max_wait_time == ACE_Time_Value::zero) break; } diff --git a/TAO/tests/Cubit/TAO/MT_Cubit/Task_Client.cpp b/TAO/tests/Cubit/TAO/MT_Cubit/Task_Client.cpp index 0f101ee7d38..d4c95c2c70d 100644 --- a/TAO/tests/Cubit/TAO/MT_Cubit/Task_Client.cpp +++ b/TAO/tests/Cubit/TAO/MT_Cubit/Task_Client.cpp @@ -954,7 +954,7 @@ Client::run_tests (Cubit_ptr cb, if (ts_->use_utilization_test_ == 1) { countdown.update (); - if (max_wait_time == 0) + if (max_wait_time == ACE_Time_Value::zero) break; } |