comparison gcc/ada/libgnarl/s-taenca.adb @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
4 -- -- 4 -- --
5 -- S Y S T E M . T A S K I N G . E N T R Y _ C A L L S -- 5 -- S Y S T E M . T A S K I N G . E N T R Y _ C A L L S --
6 -- -- 6 -- --
7 -- B o d y -- 7 -- B o d y --
8 -- -- 8 -- --
9 -- Copyright (C) 1992-2018, Free Software Foundation, Inc. -- 9 -- Copyright (C) 1992-2019, Free Software Foundation, Inc. --
10 -- -- 10 -- --
11 -- GNARL is free software; you can redistribute it and/or modify it under -- 11 -- GNARL is free software; you can redistribute it and/or modify it under --
12 -- terms of the GNU General Public License as published by the Free Soft- -- 12 -- terms of the GNU General Public License as published by the Free Soft- --
13 -- ware Foundation; either version 3, or (at your option) any later ver- -- 13 -- ware Foundation; either version 3, or (at your option) any later ver- --
14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- 14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
613 procedure Wait_Until_Abortable 613 procedure Wait_Until_Abortable
614 (Self_ID : Task_Id; 614 (Self_ID : Task_Id;
615 Call : Entry_Call_Link) 615 Call : Entry_Call_Link)
616 is 616 is
617 begin 617 begin
618 pragma Assert (Self_ID.ATC_Nesting_Level > 0); 618 pragma Assert (Self_ID.ATC_Nesting_Level > Level_No_ATC_Occurring);
619 pragma Assert (Call.Mode = Asynchronous_Call); 619 pragma Assert (Call.Mode = Asynchronous_Call);
620 620
621 STPO.Write_Lock (Self_ID); 621 STPO.Write_Lock (Self_ID);
622 Self_ID.Common.State := Entry_Caller_Sleep; 622 Self_ID.Common.State := Entry_Caller_Sleep;
623 623