public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-5673] [Ada] Make Timed_Task_Entry_Call's defer_abort nestable Date: Wed, 1 Dec 2021 10:26:45 +0000 (GMT) [thread overview] Message-ID: <20211201102645.BA9B6385842A@sourceware.org> (raw) https://gcc.gnu.org/g:dbdb6b93a2808d5c3d518e9675d058fab3b8f89b commit r12-5673-gdbdb6b93a2808d5c3d518e9675d058fab3b8f89b Author: Ghjuvan Lacambre <lacambre@adacore.com> Date: Tue Nov 16 14:19:07 2021 +0100 [Ada] Make Timed_Task_Entry_Call's defer_abort nestable gcc/ada/ * libgnarl/s-tasren.adb (Timed_Task_Entry_Call): Replace Defer_Abort and Undefer_Abort with Defer_Abort_Nestable and Undefer_Abort_Nestable. Diff: --- gcc/ada/libgnarl/s-tasren.adb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/ada/libgnarl/s-tasren.adb b/gcc/ada/libgnarl/s-tasren.adb index 9498ca0db5c..fa10b0cbbbe 100644 --- a/gcc/ada/libgnarl/s-tasren.adb +++ b/gcc/ada/libgnarl/s-tasren.adb @@ -1452,7 +1452,7 @@ package body System.Tasking.Rendezvous is "potentially blocking operation"; end if; - Initialization.Defer_Abort (Self_Id); + Initialization.Defer_Abort_Nestable (Self_Id); Self_Id.ATC_Nesting_Level := Self_Id.ATC_Nesting_Level + 1; pragma Debug @@ -1487,7 +1487,7 @@ package body System.Tasking.Rendezvous is STPO.Write_Lock (Self_Id); Utilities.Exit_One_ATC_Level (Self_Id); STPO.Unlock (Self_Id); - Initialization.Undefer_Abort (Self_Id); + Initialization.Undefer_Abort_Nestable (Self_Id); raise Tasking_Error; end if; @@ -1500,7 +1500,7 @@ package body System.Tasking.Rendezvous is -- ??? Do we need to yield in case Yielded is False Rendezvous_Successful := Entry_Call.State = Done; - Initialization.Undefer_Abort (Self_Id); + Initialization.Undefer_Abort_Nestable (Self_Id); Entry_Calls.Check_Exception (Self_Id, Entry_Call); end Timed_Task_Entry_Call;
reply other threads:[~2021-12-01 10:26 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20211201102645.BA9B6385842A@sourceware.org \ --to=pmderodat@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).