summaryrefslogtreecommitdiff
path: root/TAO/tao/Leader_Follower.cpp
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2001-09-12 21:36:29 +0000
committerbala <balanatarajan@users.noreply.github.com>2001-09-12 21:36:29 +0000
commit5528d6e4e21f2efb77c7ab40cfb23354d2acab02 (patch)
treeef1f5ccf73318b422e4ec48e695724efc3fbf4d5 /TAO/tao/Leader_Follower.cpp
parent19929806af2b84ca23f81865d3410d6992aba10a (diff)
downloadATCD-5528d6e4e21f2efb77c7ab40cfb23354d2acab02.tar.gz
ChangeLogTag: Wed Sep 12 16:29:49 2001 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Leader_Follower.cpp')
-rw-r--r--TAO/tao/Leader_Follower.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/TAO/tao/Leader_Follower.cpp b/TAO/tao/Leader_Follower.cpp
index ab245232d58..d3d2dcf4c12 100644
--- a/TAO/tao/Leader_Follower.cpp
+++ b/TAO/tao/Leader_Follower.cpp
@@ -271,6 +271,10 @@ TAO_Leader_Follower::wait_for_event (TAO_LF_Event *event,
" [has timer, follower failed]\n",
transport->id ()));
+ // We have timedout.. So set the state in the
+ // LF_Event about this.. We call the non-locking,
+ // no-signalling method on LF_Event..
+ event->set_state (TAO_LF_Event::LFS_TIMEOUT);
if (!event->successful ())
{
// Remove follower can fail because either
@@ -296,6 +300,8 @@ TAO_Leader_Follower::wait_for_event (TAO_LF_Event *event,
" elect_new_leader failed\n"));
}
}
+
+
return -1;
}
}