blob: 9b89681f1ee694805f9fcded040504b69d9386d6 (
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
#include "ace/Lock.h"
#if !defined (__ACE_INLINE__)
#include "ace/Lock.inl"
#endif /* __ACE_INLINE__ */
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_Lock::~ACE_Lock ()
{
}
ACE_Adaptive_Lock::ACE_Adaptive_Lock ()
: lock_ (0)
{
}
ACE_Adaptive_Lock::~ACE_Adaptive_Lock ()
{
}
int
ACE_Adaptive_Lock::remove ()
{
return this->lock_->remove ();
}
int
ACE_Adaptive_Lock::acquire ()
{
return this->lock_->acquire ();
}
int
ACE_Adaptive_Lock::tryacquire ()
{
return this->lock_->tryacquire ();
}
int
ACE_Adaptive_Lock::release ()
{
return this->lock_->release ();
}
int
ACE_Adaptive_Lock::acquire_read ()
{
return this->lock_->acquire_read ();
}
int
ACE_Adaptive_Lock::acquire_write ()
{
return this->lock_->acquire_write ();
}
int
ACE_Adaptive_Lock::tryacquire_read ()
{
return this->lock_->tryacquire_read ();
}
int
ACE_Adaptive_Lock::tryacquire_write ()
{
return this->lock_->tryacquire_write ();
}
int
ACE_Adaptive_Lock::tryacquire_write_upgrade ()
{
return this->lock_->tryacquire_write_upgrade ();
}
void
ACE_Adaptive_Lock::dump () const
{
#if defined (ACE_HAS_DUMP)
// return this->lock_->dump ();
#endif /* ACE_HAS_DUMP */
}
ACE_END_VERSIONED_NAMESPACE_DECL
|