[Ada] Do not indicate a pending abort if the task is already aborting
Pierre-Marie de Rodat
Tue Nov 9 09:46:20 GMT 2021
Check_Abort_Status would return the equivalent of True while a task was
in the process of aborting causing another Abort exception to be raised
and not to terminate cleanly. This only affects targets that use stack
check emulation, which is currently limited to RTEMS.
Tested on x86_64-pc-linux-gnu, committed on trunk
* libgnarl/s-tasini.adb (Check_Abort_Status): Don't return 1 if
the task is aborting.
* libgnarl/s-tasini.ads (Check_Abort_Status): Update comment.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 951 bytes
Desc: not available
More information about the Gcc-patches