diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
commit | 6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (patch) | |
tree | da50d054f9c761c3f6a5923f6979e93306c56d68 /TAO/tao/LF_Follower.cpp | |
parent | 0e555b9150d38e3b3473ba325b56db2642e6352b (diff) | |
download | ATCD-6b846cf03c0bcbd8c276cb0af61a181e5f98eaae.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/tao/LF_Follower.cpp')
-rw-r--r-- | TAO/tao/LF_Follower.cpp | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/TAO/tao/LF_Follower.cpp b/TAO/tao/LF_Follower.cpp deleted file mode 100644 index 9e9cba91522..00000000000 --- a/TAO/tao/LF_Follower.cpp +++ /dev/null @@ -1,41 +0,0 @@ -// $Id$ - -#include "tao/LF_Follower.h" -#include "tao/Leader_Follower.h" - -#if !defined (__ACE_INLINE__) -# include "tao/LF_Follower.inl" -#endif /* __ACE_INLINE__ */ - -ACE_RCSID (tao, - LF_Follower, - "$Id$") - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -TAO_LF_Follower::TAO_LF_Follower (TAO_Leader_Follower &leader_follower) - : leader_follower_ (leader_follower) - , condition_ (leader_follower.lock ()) -{ -} - -TAO_LF_Follower::~TAO_LF_Follower (void) -{ -} - -int -TAO_LF_Follower::signal (void) -{ - // We *must* remove ourselves from the list of followers, otherwise - // we could get signalled twice: to wake up as a follower and as the - // next leader. - // The follower may not be there if the reply is received while - // the consumer is not yet waiting for it (i.e. it send the - // request but has not blocked to receive the reply yet). - // Ignore errors. - (void) this->leader_follower_.remove_follower (this); - - return this->condition_.signal (); -} - -TAO_END_VERSIONED_NAMESPACE_DECL |