Why doesn't my signal handler (which throws an exception) trigger more than once?

后端 未结 2 1903
星月不相逢
星月不相逢 2020-12-12 00:53

I am trying to set up an exception handler using sigaction. It works well for the first exception. But the sigaction handler is not called after the 1st exception and the pr

2条回答
  •  渐次进展
    2020-12-12 01:43

    Standard C++ says nothing about signals, or about how they interact with exceptions. What you are trying to do will be completely specific to the OS platform you are using and possibly the specific compiler you compile your code with.

提交回复
热议问题