diff options
author | kitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-04-06 23:09:11 +0000 |
---|---|---|
committer | kitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-04-06 23:09:11 +0000 |
commit | 56168496b1e6969d7f4704cb169668b6e922d542 (patch) | |
tree | 16c5341231f1fb0eb614dc9438a9a3207871f11d /TAO/tao/Leader_Follower.i | |
parent | 7000fc4c4c8751367f2715cdcea8a82a1810a250 (diff) | |
download | ATCD-56168496b1e6969d7f4704cb169668b6e922d542.tar.gz |
Fri Apr 6 18:05:50 2001 Krishnakumar B <kitty@cs.wustl.edu>
* tao/Leader_Follower.i:
Reordered the function is_empty() to satisfy stupid VxWorks
compiler.
Diffstat (limited to 'TAO/tao/Leader_Follower.i')
-rw-r--r-- | TAO/tao/Leader_Follower.i | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/TAO/tao/Leader_Follower.i b/TAO/tao/Leader_Follower.i index db9324ae84d..82496b9d253 100644 --- a/TAO/tao/Leader_Follower.i +++ b/TAO/tao/Leader_Follower.i @@ -23,6 +23,12 @@ TAO_Leader_Follower::get_tss_resources (void) const } ACE_INLINE int +TAO_Leader_Follower::TAO_Follower_Queue::is_empty (void) const +{ + return this->head_ == 0; +} + +ACE_INLINE int TAO_Leader_Follower::follower_available (void) const { return !this->follower_set_.is_empty (); @@ -179,11 +185,7 @@ 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) |