Question on SIGFPE in Windows
Question on SIGFPE in Windows
От:
"Qingqing Zhou" <zhouqq@cs.toronto.edu>
Дата:
SIGFPE is a synchornous signal and Windows will raise it if proper flag is set (check out the example program): http://msdn2.microsoft.com/en-us/library/kfy34skx.aspx But seems we didn't use the above method. Instead, we use the same methodology as other asynchrounous signals. My question is: (1) can windows really raise SIGFPE in our setting && (2) can we really catch it in windows? Regards, Qingqing
Re: Question on SIGFPE in Windows
От:
"Magnus Hagander" <mha@sollentuna.net>
Дата:
> SIGFPE is a synchornous signal and Windows will raise it if proper > flag is set (check out the example program): > > http://msdn2.microsoft.com/en-us/library/kfy34skx.aspx > > But seems we didn't use the above method. Instead, we use the same > methodology as other asynchrounous signals. My question is: (1) can > windows really raise SIGFPE in our setting && (2) can we really > catch it in windows? (1) No, because we haven't enabled it. (2) No, not the way things are set up. But because of (1), that's not a problem. There should be a discussion in the archives during the 8.0 development cycle about this. //Magnus