qt5base-lts/tests/auto/concurrent
Sona Kurazyan 4c793e6353 Store std::exception_ptr in QUnhandledException
For historical reasons Qt Concurrent reports QUnhandledException in
case if an exception that is not derived from QException is thrown
from a worker thread. Changing this behavior may not be a good idea,
since the existing user code may rely on it. Changed QUnhandledException
to wrap the std::exception_ptr to the actual exception, so that the
users can obtain the information about the thrown exception if needed.

[ChangeLog][QtCore][QUnhandledException] Improved QUnhandledException to
store the std::exception_ptr to the actual exception thrown from a
QtCocnurrent worker thread.

Change-Id: I30e7c1d3e01aff6e1ed9938c421da0a888f12066
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2020-10-26 14:27:02 +01:00
..
qtconcurrentfilter Use parameter_type in QList methods 2020-10-22 20:47:10 +02:00
qtconcurrentiteratekernel CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qtconcurrentmap Use parameter_type in QList methods 2020-10-22 20:47:10 +02:00
qtconcurrentmedian CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qtconcurrentrun Store std::exception_ptr in QUnhandledException 2020-10-26 14:27:02 +01:00
qtconcurrenttask CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qtconcurrentthreadengine Store std::exception_ptr in QUnhandledException 2020-10-26 14:27:02 +01:00
CMakeLists.txt QtConcurrent: add fluent interface to configure a task before run 2020-03-29 20:44:32 +01:00
concurrent.pro QtConcurrent: add fluent interface to configure a task before run 2020-03-29 20:44:32 +01:00
testhelper_functions.h Move file of test helpers out of directory for qtconcurrentmap tests 2020-10-16 18:49:01 +02:00