blob: bd1d1940524d7d4b479ac0b7f78d926fec890147 (
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
|
// $Id$
#if !defined (__ACE_INLINE__)
#include "ace/Lock.inl"
#endif /* __ACE_INLINE__ */
ACE_RCSID(ace, Lock, "$Id$")
ACE_Lock::~ACE_Lock (void)
{
}
ACE_Adaptive_Lock::ACE_Adaptive_Lock (void)
: lock_ (0)
{
}
ACE_Adaptive_Lock::~ACE_Adaptive_Lock (void)
{
}
int
ACE_Adaptive_Lock::remove (void)
{
return this->lock_->remove ();
}
int
ACE_Adaptive_Lock::acquire (void)
{
return this->lock_->acquire ();
}
int
ACE_Adaptive_Lock::tryacquire (void)
{
return this->lock_->tryacquire ();
}
int
ACE_Adaptive_Lock::release (void)
{
return this->lock_->release ();
}
int
ACE_Adaptive_Lock::acquire_read (void)
{
return this->lock_->acquire_read ();
}
int
ACE_Adaptive_Lock::acquire_write (void)
{
return this->lock_->acquire_write ();
}
int
ACE_Adaptive_Lock::tryacquire_read (void)
{
return this->lock_->tryacquire_read ();
}
int
ACE_Adaptive_Lock::tryacquire_write (void)
{
return this->lock_->tryacquire_write ();
}
int
ACE_Adaptive_Lock::tryacquire_write_upgrade (void)
{
return this->lock_->tryacquire_write_upgrade ();
}
void
ACE_Adaptive_Lock::dump (void) const
{
#if defined (ACE_HAS_DUMP)
// return this->lock_->dump ();
#endif /* ACE_HAS_DUMP */
}
|