If a thread was aborted through a regular AbortOnValue this was caught but only a possible RTE was evaluated. Thus, the readout function could not determine if the thread was aborted or not.
Changes:
The readout function now uses ASYNC_ReadOutStruct as single argument. This allows extensions without changing all function APIs. The structure includes the former values for dfr, RTE code, RTE message and now additionally the V_abortCode. The RTE message must be included here as it has to be retrieved as soon as it happened (in the thread) and needs to be trnasported then to the main thread as well.
The user readout function can evaluate then both error conditions and react accordingly.
If a thread was aborted through a regular AbortOnValue this was caught but only a possible RTE was evaluated. Thus, the readout function could not determine if the thread was aborted or not.
Changes:
close #2252