diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-11-30 21:46:38 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-11-30 21:46:38 +0000 |
commit | 9f40432a1a54f4b021546b862d6e5dcf9844fb53 (patch) | |
tree | 405ad2ad7b4dcba42ec61ecb072a5e9884d2ea2d /examples/Misc | |
parent | 511285c4a96a4c08389bb5f26f2730e4c71e61fd (diff) | |
download | ATCD-9f40432a1a54f4b021546b862d6e5dcf9844fb53.tar.gz |
foo
Diffstat (limited to 'examples/Misc')
-rw-r--r-- | examples/Misc/test_trace.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/examples/Misc/test_trace.cpp b/examples/Misc/test_trace.cpp index 22f0919bf33..41b407cbdca 100644 --- a/examples/Misc/test_trace.cpp +++ b/examples/Misc/test_trace.cpp @@ -3,11 +3,7 @@ #define ACE_NTRACE 0 - -#if defined (ACE_MT_SAFE) #include "ace/Thread.h" -#endif /* ACE_MT_SAFE */ - #include "ace/Signal.h" static void @@ -17,7 +13,7 @@ foo (int max_depth) if (max_depth > 0) foo (max_depth - 1); - /* Destructor automatically called */ + // Destructor automatically called. } int @@ -30,6 +26,7 @@ main (int argc, char *argv[]) ACE_Trace _ ("int main (int argc, char *argv[])", __LINE__, __FILE__); + // The following won't work on MVS OpenEdition... ACE_Sig_Action sig1 ((ACE_SignalHandler) ACE_Trace::start_tracing, SIGUSR1); ACE_Sig_Action sig2 ((ACE_SignalHandler) ACE_Trace::stop_tracing, SIGUSR2); @@ -46,7 +43,7 @@ main (int argc, char *argv[]) foo (MAX_DEPTH); #endif /* ACE_MT_SAFE */ - /* Destructor automatically called */ + // Destructor automatically called. return 0; } |