[Coin-symphony] Disabling SIGINT signal handling

Ted Ralphs tkralphs at lehigh.edu
Tue Jun 12 18:41:18 EDT 2007


David,

There is now an option --disable-signal-handler that will disable
SYMPHONY's signal handling. It is currently in stable/5.1 and will be in
the soon-to-be-released release version 5.1.4. Enjoy!

Cheers,

Ted

David Goodlad wrote:
> Hi all
> 
> I'm using the SYMPHONY 5.1 shared library (configured
> --with-application) to integrate symphony into my own solver. However,
> I need to run this app as a daemon on my system, and don't want
> Symphony's signal handling to take control of SIGINT. I've looked over
> that signal handling code, and all it seems to do if I choose to
> 'a'bort is to flush the output buffer, which I'm not too concerned
> about.
> 
> The problem is that, even if I wanted to press 'a' to abort, I can't,
> since I no longer have access to stdin once I daemonize the process. I
> hacked my copy of the source to add a 'false' condition to the check
> for the MS C compiler that's already around the signal(SIGINT, ...)
> code, but would rather there be a more 'officially sanctioned'
> solution. Perhaps a configure option that could be used to disable
> this particular bit of code?
> 
> What do you think?
> Dave
> 


-- 
Dr. Ted Ralphs
Associate Professor
Industrial and Systems Engineering
Lehigh University
(610)758-4784
tkralphs at lehigh.edu
www.lehigh.edu/~tkr2



More information about the Symphony mailing list