summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2003-08-26 21:34:19 +0000
committerbala <balanatarajan@users.noreply.github.com>2003-08-26 21:34:19 +0000
commit9482afa40c2c7d6a4835e3c10169e0720cef116d (patch)
tree6804a72fc76c94149261f4a0371ae031b4aff41e
parent5ba1fe56cff9a4046274bad6e27554cbedac5ee0 (diff)
downloadATCD-9482afa40c2c7d6a4835e3c10169e0720cef116d.tar.gz
ChangeLogTag:Tue Aug 26 16:33:07 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
-rw-r--r--TAO/ChangeLog_ref7
-rw-r--r--TAO/tao/Transport.cpp4
-rw-r--r--TAO/tao/Transport.h4
3 files changed, 11 insertions, 4 deletions
diff --git a/TAO/ChangeLog_ref b/TAO/ChangeLog_ref
index c4c47c519b0..0f64cb73496 100644
--- a/TAO/ChangeLog_ref
+++ b/TAO/ChangeLog_ref
@@ -1,3 +1,10 @@
+Tue Aug 26 16:33:07 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
+
+ * tao/Transport.h:
+ * tao/Transport.cpp: Changed the signatures of idle_after_reply ()
+ and idle_after_send () to return a bool instead of an int. With
+ these sets of changes simple multi-threaded tests work.
+
Tue Aug 26 16:42:05 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
* tao/Asynch_Reply_Dispatcher_Base.cpp: Removed the call to
diff --git a/TAO/tao/Transport.cpp b/TAO/tao/Transport.cpp
index d6fff78a27b..06a507dbb2e 100644
--- a/TAO/tao/Transport.cpp
+++ b/TAO/tao/Transport.cpp
@@ -146,13 +146,13 @@ TAO_Transport::provide_handler (TAO_Connection_Handler_Set &handlers)
handlers.insert (this->connection_handler_i ());
}
-int
+bool
TAO_Transport::idle_after_send (void)
{
return this->tms ()->idle_after_send ();
}
-int
+bool
TAO_Transport::idle_after_reply (void)
{
return this->tms ()->idle_after_reply ();
diff --git a/TAO/tao/Transport.h b/TAO/tao/Transport.h
index 515bfac925c..f3df1005d95 100644
--- a/TAO/tao/Transport.h
+++ b/TAO/tao/Transport.h
@@ -380,11 +380,11 @@ public:
/// Request has been just sent, but the reply is not received. Idle
/// the transport now.
- virtual int idle_after_send (void);
+ bool idle_after_send (void);
/// Request is sent and the reply is received. Idle the transport
/// now.
- virtual int idle_after_reply (void);
+ bool idle_after_reply (void);
/// Call the implementation method after obtaining the lock.
virtual void close_connection (void);