diff options
Diffstat (limited to 'TAO/tao/LF_Event.inl')
-rw-r--r-- | TAO/tao/LF_Event.inl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/TAO/tao/LF_Event.inl b/TAO/tao/LF_Event.inl index 200eff65967..96e9e118918 100644 --- a/TAO/tao/LF_Event.inl +++ b/TAO/tao/LF_Event.inl @@ -10,6 +10,15 @@ TAO_LF_Event::bind (TAO_Follower *follower) } ACE_INLINE int +TAO_LF_Event::unbind (void) +{ + if (this->follower_ == 0) + return -1; + this->follower_ = 0; + return 0; +} + +ACE_INLINE int TAO_LF_Event::keep_waiting (void) { return (this->successful () == 0) && (this->error_detected () == 0); |