[ace-users] how to handle SIGINT

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Mon Jul 16 09:59:54 CDT 2007


Hi Albert,

To ensure that we have proper version/platform/compiler information,
please make sure you fill out the appropriate problem report form (PRF),
which is in

$ACE_ROOT/PROBLEM-REPORT-FORM
$TAO_ROOT/PROBLEM-REPORT-FORM

or in

$ACE_ROOT/BUG-REPORT-FORM
$TAO_ROOT/BUG-REPORT-FORM

in older versions of ACE+TAO.  Make sure to include this information
when asking any questions about ACE+TAO since otherwise we have to
"guess" what version/platform/compiler/options you've using, which is
very error-prone and slows down our responsiveness.  If you don't use
the PRF, therefore, it is less likely that someone from the core
ACE+TAO developer team will be able to answer your question.
Naturally, we encourage and appreciate other members of the ACE+TAO
user community who can respond to questions that they have the answers
to.

> Is there a simple way to control "Ctrl+C" in a program?

Sure, see

ACE_ROOT/tests/Signal_Test.cpp
ACE_ROOT/examples/Reactor/Misc/test_signals_1.cpp
ACE_ROOT/examples/Reactor/Misc/test_signals_2.cpp
ACE_ROOT/examples/Reactor/Misc/test_demuxing.cpp
ACE_ROOT/examples/Reactor/Misc/notification.cpp

I think this is also covered in APG
<http://www.riverace.com/acebooks/index.htm#apg>.  Steve, can you please
confirm/deny this?

Thanks,

     Doug



More information about the Ace-users mailing list