diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-27 23:27:13 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-27 23:27:13 +0000 |
commit | 4fc562ccdb07afe4cbf41c157a22e4b98271d44f (patch) | |
tree | f0b1434d9ec01b823b31e2109a1818b08faa3f3b /ace/Timeprobe.h | |
parent | 0cce25fe4ee2a071bd3ed5dd446c93d7ebbb361d (diff) | |
download | ATCD-4fc562ccdb07afe4cbf41c157a22e4b98271d44f.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Timeprobe.h')
-rw-r--r-- | ace/Timeprobe.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ace/Timeprobe.h b/ace/Timeprobe.h index b79ea26682f..d910f9f251c 100644 --- a/ace/Timeprobe.h +++ b/ace/Timeprobe.h @@ -85,13 +85,15 @@ typedef ACE_Timeprobe<ACE_TIMEPROBE_MUTEX> // their own instance of ACE_Timerprobe, without interfering with each // other. # if defined (ACE_TSS_TIMEPROBES) -typedef ACE_TSS_Singleton<ACE_TIMEPROBE_WITH_LOCKING, ACE_SYNCH_NULL_MUTEX> - ACE_TIMEPROBE_SINGLETON; +#define ACE_TIMEPROBE_SINGLETON \ + ACE_TSS_Singleton<ACE_TIMEPROBE_WITH_LOCKING, ACE_SYNCH_NULL_MUTEX>; # else /* ACE_TSS_TIMEPROBES */ -typedef ACE_Singleton<ACE_TIMEPROBE_WITH_LOCKING, ACE_SYNCH_MUTEX> - ACE_TIMEPROBE_SINGLETON; +#define ACE_TIMEPROBE_SINGLETON \ + ACE_Singleton<ACE_TIMEPROBE_WITH_LOCKING, ACE_SYNCH_MUTEX>; # endif /* ACE_TSS_TIMEPROBES */ +ACE_SINGLETON_DECLARATION (ACE_TIMEPROBE_SINGLETON); + #endif /* ACE_COMPILE_TIMEPROBES */ // If ACE_ENABLE_TIMEPROBES is defined, the macros below will |