Question on SIGFPE in Windows

Started by Qingqing Zhouover 19 years ago2 messages
#1Qingqing 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

#2Magnus Hagander
mha@sollentuna.net
In reply to: Qingqing Zhou (#1)
Re: Question on SIGFPE in Windows

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