X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fada%2Fs-taprob.adb;h=4a5b6af4bfc3cfe8d0e8da84119bb233cf2cbb04;hb=f62ed60b214f15bdb21842816457e0a6ad09c056;hp=4663110652bc0017fb24749baed0e084f59916b7;hpb=3670c51dfe5b75666de76454dd55944799dc90b5;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/ada/s-taprob.adb b/gcc/ada/s-taprob.adb index 4663110652b..4a5b6af4bfc 100644 --- a/gcc/ada/s-taprob.adb +++ b/gcc/ada/s-taprob.adb @@ -6,7 +6,8 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1991-2001 Florida State University -- +-- Copyright (C) 1991-1994, Florida State University -- +-- Copyright (C) 1995-2004, Ada Core Technologies -- -- -- -- GNARL 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- -- @@ -26,9 +27,8 @@ -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- --- GNARL was developed by the GNARL team at Florida State University. It is -- --- now maintained by Ada Core Technologies Inc. in cooperation with Florida -- --- State University (http://www.gnat.com). -- +-- GNARL was developed by the GNARL team at Florida State University. -- +-- Extensive contributions were provided by Ada Core Technologies, Inc. -- -- -- ------------------------------------------------------------------------------ @@ -46,6 +46,9 @@ with System.Parameters; with System.Traces; -- used for Send_Trace_Info +with System.Soft_Links.Tasking; +-- Used for Init_Tasking_Soft_Links + package body System.Tasking.Protected_Objects is use System.Task_Primitives.Operations; @@ -137,4 +140,8 @@ package body System.Tasking.Protected_Objects is end if; end Unlock; +begin + -- Ensure that tasking soft links are set when using protected objects + + System.Soft_Links.Tasking.Init_Tasking_Soft_Links; end System.Tasking.Protected_Objects;