diff options
author | Dominik Holland <dominik.holland@qt.io> | 2022-09-27 09:51:24 +0200 |
---|---|---|
committer | Dominik Holland <dominik.holland@qt.io> | 2022-10-11 14:55:23 +0200 |
commit | 0e1ce757d530c5e84d4c3ad070fd8ebf47c2e3d2 (patch) | |
tree | 8929aee1c1f84fbfef1777aef8047e14ae65900c /src/testlib | |
parent | 35ff45640783aa3a8b9061bb2be08fe7a6612724 (diff) |
Add a configure option to exit on poll errors
If an error is returned from qt_safe_poll inside the event dispatcher
the error is currently printed and ignored.
For most cases this behavior seems to be fine, but when used in critical
systems e.g. automotive or medical, a error might indicate a more severe
problem and the application should be stopped instead.
The system can then decide itself what to do e.g. restarting the
application using a watchdog.
Change-Id: Iaf5abb20bb3941eaeff19d14e41c395c88fa088d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/testlib')
0 files changed, 0 insertions, 0 deletions