summaryrefslogtreecommitdiff
path: root/TAO/tao/RTCORBA/RT_Mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/RTCORBA/RT_Mutex.h')
-rw-r--r--TAO/tao/RTCORBA/RT_Mutex.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/TAO/tao/RTCORBA/RT_Mutex.h b/TAO/tao/RTCORBA/RT_Mutex.h
index c12409e8cd0..187e7aebc09 100644
--- a/TAO/tao/RTCORBA/RT_Mutex.h
+++ b/TAO/tao/RTCORBA/RT_Mutex.h
@@ -1,4 +1,5 @@
-/* -*- C++ -*- */
+// -*- C++ -*-
+
//=============================================================================
/**
* @file RT_Mutex.h
@@ -37,6 +38,8 @@
#pragma warning(disable:4250)
#endif /* _MSC_VER */
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
/**
* @class TAO_RT_Mutex
*
@@ -53,11 +56,6 @@ class TAO_RTCORBA_Export TAO_RT_Mutex
public TAO_Local_RefCounted_Object
{
public:
- /// Constructor.
- TAO_RT_Mutex (void);
-
- /// Destructor.
- virtual ~TAO_RT_Mutex (void);
/// Acquire the lock.
virtual void lock (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
@@ -81,6 +79,11 @@ public:
virtual const char *name (void) const;
protected:
+
+ /// Destructor.
+ virtual ~TAO_RT_Mutex (void);
+
+protected:
/// Synchronization lock.
TAO_SYNCH_MUTEX mu_;
};
@@ -108,6 +111,8 @@ protected:
};
#endif /* TAO_HAS_NAMED_RT_MUTEXES == 1 */
+TAO_END_VERSIONED_NAMESPACE_DECL
+
#if defined(_MSC_VER)
#pragma warning(pop)
#endif /* _MSC_VER */