blob: 0e69d8b1bf19eb63b960e728c1661136989b2fcd (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
// -*- C++ -*-
//
//$Id$
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
template <class MUTEX> ACE_INLINE int
TAO_Condition<MUTEX>::wait (void)
{
return this->cond_->wait ();
}
template <class MUTEX> ACE_INLINE int
TAO_Condition<MUTEX>::wait (MUTEX &mutex,
const ACE_Time_Value *abstime)
{
return this->cond_->wait (mutex,
abstime);
}
// Peform an "alertable" timed wait. If the argument ABSTIME == 0
// then we do a regular cond_wait(), else we do a timed wait for up to
// ABSTIME using the Solaris cond_timedwait() function.
template <class MUTEX> ACE_INLINE int
TAO_Condition<MUTEX>::wait (const ACE_Time_Value *abstime)
{
return this->wait (*this->mutex_, abstime);
}
template<class MUTEX> ACE_INLINE int
TAO_Condition<MUTEX>::remove (void)
{
return this->cond_->remove ();
}
template<class MUTEX> ACE_INLINE MUTEX *
TAO_Condition<MUTEX>::mutex (void)
{
return this->mutex_;
}
template <class MUTEX> ACE_INLINE int
TAO_Condition<MUTEX>::signal (void)
{
return this->cond_->signal ();
}
template <class MUTEX> ACE_INLINE int
TAO_Condition<MUTEX>::broadcast (void)
{
return this->cond_->broadcast ();
}
TAO_END_VERSIONED_NAMESPACE_DECL
|