[Coin-symphony] Disabling SIGINT signal handling

David Goodlad dgoodlad at gmail.com
Fri Jun 8 11:55:57 EDT 2007


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

-- 
Dave Goodlad
dgoodlad at gmail.com or dave at goodlad.ca
http://david.goodlad.ca/



More information about the Symphony mailing list