summaryrefslogtreecommitdiff
path: root/TAO/tao/RT_Mutex.cpp
blob: fb8d89fcc7e1f7f44718e921e59b480eb256229e (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
// $Id$
#include "tao/RT_Mutex.h"

#if ! defined (__ACE_INLINE__)
#include "tao/RT_Mutex.i"
#endif /* __ACE_INLINE__ */

ACE_RCSID(TAO, RT_Mutex, "$Id$")

#if (TAO_HAS_RT_CORBA == 1)

TAO_RT_Mutex::TAO_RT_Mutex (void)
{
}

TAO_RT_Mutex::~TAO_RT_Mutex (void)
{
}

void
TAO_RT_Mutex::lock (CORBA::Environment &)
  ACE_THROW_SPEC ((CORBA::SystemException))
{
}

void
TAO_RT_Mutex::unlock (CORBA::Environment &)
  ACE_THROW_SPEC ((CORBA::SystemException))
{
}

CORBA::Boolean
TAO_RT_Mutex::try_lock (TimeBase::TimeT,
                        CORBA::Environment &)
  ACE_THROW_SPEC ((CORBA::SystemException))
{
  return 0;
}

#endif /* TAO_HAS_RT_CORBA == 1 */

////////////////////////////////////////////////////////////////////////////////

#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)

#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)

#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */