Details
-
Suggestion
-
Resolution: Unresolved
-
P4: Low
-
None
-
4.8.4
-
None
Description
As a developer running many threads of QRunnable objects in a single thread pool, I would like to cause one of my threads to raise an error to the QThreadPool after run() completes, so that I can cause my QThreadPool::waitForDone() to complete early, and to know about an error-state.
As a nice-to-have, I might like to be able to inquire about which QRunnable failed, but given the deletable nature of those objects, there might not be a good way to do that. Perhaps the error-state could be communicated with a string, to get this information.