diff options
Diffstat (limited to 'gcc/ada/s-taprop.ads')
-rw-r--r-- | gcc/ada/s-taprop.ads | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ada/s-taprop.ads b/gcc/ada/s-taprop.ads index 5c571d41b69..e413b126645 100644 --- a/gcc/ada/s-taprop.ads +++ b/gcc/ada/s-taprop.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 1992-2009, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2011, Free Software Foundation, Inc. -- -- -- -- 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- -- @@ -543,4 +543,12 @@ package System.Task_Primitives.Operations is -- such functionality. Such functionality is needed by gdb on some targets -- (e.g VxWorks) Return True is the operation is successful + ------------------- + -- Task affinity -- + ------------------- + + procedure Set_Task_Affinity (T : ST.Task_Id); + -- Enforce at the operating system level the task affinity defined in the + -- Ada Task Control Block. + end System.Task_Primitives.Operations; |