blob: 96e9e1189186b44ec9fbe595a62453329a1d0d7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// $Id$
ACE_INLINE int
TAO_LF_Event::bind (TAO_Follower *follower)
{
if (this->follower_ != 0)
return -1;
this->follower_ = follower;
return 0;
}
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);
}
|