comparison gcc/ada/libgnarl/s-tataat.ads @ 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 . T A S K _ A T T R I B U T E S -- 5 -- S Y S T E M . T A S K I N G . T A S K _ A T T R I B U T E S --
6 -- -- 6 -- --
7 -- S p e c -- 7 -- S p e c --
8 -- -- 8 -- --
9 -- Copyright (C) 2014-2018, Free Software Foundation, Inc. -- 9 -- Copyright (C) 2014-2019, Free Software Foundation, Inc. --
10 -- -- 10 -- --
11 -- GNAT is free software; you can redistribute it and/or modify it under -- 11 -- GNAT 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- --
34 with Ada.Unchecked_Conversion; 34 with Ada.Unchecked_Conversion;
35 35
36 package System.Tasking.Task_Attributes is 36 package System.Tasking.Task_Attributes is
37 37
38 type Deallocator is access procedure (Ptr : Atomic_Address); 38 type Deallocator is access procedure (Ptr : Atomic_Address);
39 pragma Favor_Top_Level (Deallocator);
39 40
40 type Attribute_Record is record 41 type Attribute_Record is record
41 Free : Deallocator; 42 Free : Deallocator;
42 end record; 43 end record;
43 -- The real type is declared in Ada.Task_Attributes body: Real_Attribute. 44 -- The real type is declared in Ada.Task_Attributes body: Real_Attribute.