summaryrefslogtreecommitdiff
path: root/TAO/tao/Leader_Follower.i
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-01-25 20:17:52 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-01-25 20:17:52 +0000
commit55e5da55ec5293677e8d92200a6ac6fd3853f889 (patch)
tree71eb83d977a8e5a54cbc3b537bcd745042232b5d /TAO/tao/Leader_Follower.i
parente17a7a3deeeef32a333e7eb8d73582c12c2900ab (diff)
downloadATCD-55e5da55ec5293677e8d92200a6ac6fd3853f889.tar.gz
ChangeLogTag: Tue Jan 25 14:05:42 2000 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Leader_Follower.i')
-rw-r--r--TAO/tao/Leader_Follower.i22
1 files changed, 22 insertions, 0 deletions
diff --git a/TAO/tao/Leader_Follower.i b/TAO/tao/Leader_Follower.i
index e7e5e91a19e..f9fe04716b6 100644
--- a/TAO/tao/Leader_Follower.i
+++ b/TAO/tao/Leader_Follower.i
@@ -161,3 +161,25 @@ TAO_Leader_Follower::has_clients (void) const
{
return this->clients_;
}
+
+TAO_LF_Client_Thread_Helper::TAO_LF_Client_Thread_Helper (TAO_Leader_Follower &leader_follower)
+ : leader_follower_ (leader_follower)
+{
+ this->leader_follower_.set_client_thread ();
+}
+
+TAO_LF_Client_Thread_Helper::~TAO_LF_Client_Thread_Helper (void)
+{
+ this->leader_follower_.reset_client_thread ();
+}
+
+TAO_LF_Leader_Thread_Helper::TAO_LF_Leader_Thread_Helper (TAO_Leader_Follower &leader_follower)
+ : leader_follower_ (leader_follower)
+{
+ this->leader_follower_.set_leader_thread ();
+}
+
+TAO_LF_Leader_Thread_Helper::~TAO_LF_Leader_Thread_Helper (void)
+{
+ this->leader_follower_.reset_leader_thread ();
+}