summaryrefslogtreecommitdiff
path: root/ace/Timeprobe.h
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2005-11-24 09:48:55 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2005-11-24 09:48:55 +0000
commit6dfaf4ef7e39575f7e51708889c003d74ff7b88e (patch)
treeb8e3420dc093225f2d59cad2ce07772b78075523 /ace/Timeprobe.h
parent5ded87ab3eb8a790e353f41337baa0c1492fe8b2 (diff)
downloadATCD-6dfaf4ef7e39575f7e51708889c003d74ff7b88e.tar.gz
ChangeLogTag:Thu Nov 24 01:38:57 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'ace/Timeprobe.h')
-rw-r--r--ace/Timeprobe.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/ace/Timeprobe.h b/ace/Timeprobe.h
index c2319014db8..a78619f6e76 100644
--- a/ace/Timeprobe.h
+++ b/ace/Timeprobe.h
@@ -113,6 +113,8 @@ public:
ACE_thread_t thread_;
};
+ACE_END_VERSIONED_NAMESPACE_DECL
+
#if defined (__ACE_INLINE__)
#include "ace/Timeprobe.inl"
#endif /* __ACE_INLINE__ */
@@ -122,6 +124,8 @@ public:
#include "ace/Singleton.h"
#include "ace/Timeprobe_T.h"
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
// If ACE_MT_TIMEPROBES is defined, use a Thread_Mutex to lock the
// internal state of ACE_Timerprobe. This allows multiple threads to
// use the same ACE_Timerprobe.
@@ -150,8 +154,8 @@ typedef ACE_Timeprobe_Ex<ACE_TIMEPROBE_MUTEX, ACE_TIMEPROBE_ALLOCATOR>
# endif /* ACE_TSS_TIMEPROBES */
ACE_SINGLETON_DECLARE (ACE_TIMEPROBE_SINGLETON_TYPE, \
- ACE_TIMEPROBE_WITH_LOCKING, \
- ACE_TIMEPROBE_SINGLETON_LOCK_TYPE)
+ ACE_TIMEPROBE_WITH_LOCKING, \
+ ACE_TIMEPROBE_SINGLETON_LOCK_TYPE)
typedef ACE_TIMEPROBE_SINGLETON_TYPE<ACE_TIMEPROBE_WITH_LOCKING, ACE_TIMEPROBE_SINGLETON_LOCK_TYPE>
ACE_TIMEPROBE_SINGLETON;