]> OCCT Git - occt-copy.git/commit
0030775: Foundation Classes - Preserve application-defined top-level exception filter
authorkgv <kgv@opencascade.com>
Mon, 17 Jun 2019 15:42:36 +0000 (18:42 +0300)
committermgn <mgn@opencascade.com>
Tue, 2 Jul 2019 14:10:40 +0000 (17:10 +0300)
commit0e1235475f5b398b9b66a1edfade6bd3e7d96c88
tree46e0b21b568a25dd22a0e63c2c07e51c7f5e2fc1
parenta3c994d8f94abff92962e41d39e6bd6e217fb63c
0030775: Foundation Classes - Preserve application-defined top-level exception filter

OSD::SetSignal() method now accepts argument resetting handler to default.
Added new method OSD::SetThreadLocalSignal() intended to setup
thread-specific handlers (e.g. _set_se_translator() on Windows) and FPE settings.

OSD_ThreadPool now uses new method instead of OSD::SetSignal().

dsetsignal syntax has been changed so that the first argument now defines
of signals should be catched by OCCT or not;
new parameter -fpe defines if FPE signals should be catched.
21 files changed:
src/Draw/Draw_BasicCommands.cxx
src/OSD/OSD.hxx
src/OSD/OSD_ThreadPool.cxx
src/OSD/OSD_signal.cxx
src/QABugs/QABugs_11.cxx
tests/bugs/fclasses/bug28829
tests/bugs/fclasses/bug30775 [new file with mode: 0644]
tests/bugs/fclasses/bug6143
tests/bugs/modalg_6/bug28054_1
tests/bugs/modalg_6/bug28054_2
tests/bugs/modalg_6/bug28706
tests/bugs/modalg_7/bug28085_1
tests/bugs/modalg_7/bug29698
tests/bugs/moddata_3/bug28175_1
tests/bugs/vis/bug29127
tests/lowalgos/intss/bug27842
tests/lowalgos/intss/bug28085_2
tests/lowalgos/intss/bug28222_1
tests/lowalgos/intss/bug28222_2
tests/lowalgos/intss/bug28222_3
tests/perf/fclasses/strtod