-- --
-- B o d y --
-- --
--- Copyright (C) 2005-2006, Free Software Foundation, Inc. --
+-- Copyright (C) 2005-2008, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
------------------------------------------------------------------------------
with System.Tasking;
--- used for Task_Id
-
with System.Task_Primitives.Operations;
--- used for Self
--- Write_Lock
--- Unlock
--- Lock_RTS
--- Unlock_RTS
-
with System.Parameters;
--- used for Single_Lock
-
with System.Soft_Links;
--- use for Abort_Defer
--- Abort_Undefer
-with Unchecked_Conversion;
+with Ada.Unchecked_Conversion;
package body Ada.Task_Termination is
-- Local subprograms --
-----------------------
- function To_TT is new Unchecked_Conversion
+ function To_TT is new Ada.Unchecked_Conversion
(System.Tasking.Termination_Handler, Termination_Handler);
- function To_ST is new Unchecked_Conversion
+ function To_ST is new Ada.Unchecked_Conversion
(Termination_Handler, System.Tasking.Termination_Handler);
- function To_Task_Id is new Unchecked_Conversion
+ function To_Task_Id is new Ada.Unchecked_Conversion
(Ada.Task_Identification.Task_Id, System.Tasking.Task_Id);
-----------------------------------