Mercurial > hg > CbC > CbC_gcc
comparison gcc/ada/libgnarl/s-tposen.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 -- SYSTEM.TASKING.PROTECTED_OBJECTS.SINGLE_ENTRY -- | 5 -- SYSTEM.TASKING.PROTECTED_OBJECTS.SINGLE_ENTRY -- |
6 -- -- | 6 -- -- |
7 -- B o d y -- | 7 -- B o d y -- |
8 -- -- | 8 -- -- |
9 -- Copyright (C) 1998-2018, Free Software Foundation, Inc. -- | 9 -- Copyright (C) 1998-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- -- |
339 procedure Protected_Single_Entry_Call | 339 procedure Protected_Single_Entry_Call |
340 (Object : Protection_Entry_Access; | 340 (Object : Protection_Entry_Access; |
341 Uninterpreted_Data : System.Address) | 341 Uninterpreted_Data : System.Address) |
342 is | 342 is |
343 Self_Id : constant Task_Id := STPO.Self; | 343 Self_Id : constant Task_Id := STPO.Self; |
344 Entry_Call : Entry_Call_Record renames Self_Id.Entry_Calls (1); | 344 Entry_Call : Entry_Call_Record renames |
345 Self_Id.Entry_Calls (Self_Id.Entry_Calls'First); | |
345 begin | 346 begin |
346 -- If pragma Detect_Blocking is active then Program_Error must be | 347 -- If pragma Detect_Blocking is active then Program_Error must be |
347 -- raised if this potentially blocking operation is called from a | 348 -- raised if this potentially blocking operation is called from a |
348 -- protected action. | 349 -- protected action. |
349 | 350 |