This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Signal handling in Win32 GUI programs
2009/1/13 Andy Koppe <andy.koppe@gmail.com>:
> static const sigset_t term_sigs =
> 1<<SIGHUP | 1<<SIGKILL | 1<<SIGTERM | 1<<SIGINT;
Seems this is the problem. It needs to be done the proper way, using sigaddset.
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/