]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Fix ATC with timed delay from Ada.Real_Time
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 27 Sep 2024 07:36:17 +0000 (09:36 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Fri, 25 Oct 2024 09:09:02 +0000 (11:09 +0200)
commit8af9169fcf792531ca7bbaac80d15123c7970f06
treed5f366b7f34bcdca46f4af3da76be3d5e3591636
parent2e3d527fe37e2bf8cba74a42d78f2d99f3e7094a
ada: Fix ATC with timed delay from Ada.Real_Time

An Asynchronous Transfer of Control blocks with a timed delay that is
computed by means of the Ada.Real_Time unit (instead of the default
Ada.Calendar unit) because of a missing abort deferral in the unit.

gcc/ada/ChangeLog:

PR ada/43485
* libgnarl/a-retide.adb: Add with clause for System.Soft_Links.
(Delay_Until): Defer and undefer abort around the call to the
Timed_Delay routine of System.Task_Primitives.Operations.
gcc/ada/libgnarl/a-retide.adb