summaryrefslogtreecommitdiff
path: root/TAO/tao/Leader_Follower.i
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2001-03-27 21:16:45 +0000
committerbala <balanatarajan@users.noreply.github.com>2001-03-27 21:16:45 +0000
commitc7ab790b60749d6434baa2a6d25c7e484e3a0c4d (patch)
tree5702c2da2272776f83c58714eebc49993faa32f4 /TAO/tao/Leader_Follower.i
parent531dc443ef24bd7b6b6fd2b667d51a2d8d15fada (diff)
downloadATCD-c7ab790b60749d6434baa2a6d25c7e484e3a0c4d.tar.gz
ChangeLogTag: Tue Mar 27 15:08:41 2001 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Leader_Follower.i')
-rw-r--r--TAO/tao/Leader_Follower.i14
1 files changed, 4 insertions, 10 deletions
diff --git a/TAO/tao/Leader_Follower.i b/TAO/tao/Leader_Follower.i
index db9324ae84d..08a0a301058 100644
--- a/TAO/tao/Leader_Follower.i
+++ b/TAO/tao/Leader_Follower.i
@@ -156,15 +156,15 @@ TAO_Leader_Follower::is_client_leader_thread (void) const
}
ACE_INLINE int
-TAO_Leader_Follower::add_follower (TAO_Follower_Node *follower_node)
+TAO_Leader_Follower::add_follower (TAO_SYNCH_CONDITION *follower_ptr)
{
- return this->follower_set_.insert (follower_node);
+ return this->follower_set_.insert (follower_ptr);
}
ACE_INLINE int
-TAO_Leader_Follower::remove_follower (TAO_Follower_Node *follower_node)
+TAO_Leader_Follower::remove_follower (TAO_SYNCH_CONDITION *follower_ptr)
{
- return this->follower_set_.remove (follower_node);
+ return this->follower_set_.remove (follower_ptr);
}
ACE_INLINE ACE_Reverse_Lock<TAO_SYNCH_MUTEX> &
@@ -179,12 +179,6 @@ TAO_Leader_Follower::has_clients (void) const
return this->clients_;
}
-ACE_INLINE int
-TAO_Leader_Follower::TAO_Follower_Queue::is_empty (void) const
-{
- return this->head_ == 0;
-}
-
ACE_INLINE
TAO_LF_Client_Thread_Helper::TAO_LF_Client_Thread_Helper (TAO_Leader_Follower &leader_follower)
: leader_follower_ (leader_follower)