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 | 2fca8ca190ad0753da5027b315ba24876435202a (patch) | |
tree | 405ad2ad7b4dcba42ec61ecb072a5e9884d2ea2d /examples/Misc | |
parent | 342b4a6d10e26b05e0dfa6883e688c2345595aa7 (diff) | |
download | ATCD-2fca8ca190ad0753da5027b315ba24876435202a.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; } |