diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-07 16:17:41 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-07 16:17:41 +0000 |
commit | 1e3e81fdb69fc820576a3d088e4afae7b049a76f (patch) | |
tree | d072d0324c330d8b312d350cd9ac6f28f6b0d96d /cpukit/ada/rtems.adb | |
parent | Removed targets and configurations that are no longer functional (diff) | |
download | rtems-1e3e81fdb69fc820576a3d088e4afae7b049a76f.tar.bz2 |
Added Is_Suspended method.
Diffstat (limited to 'cpukit/ada/rtems.adb')
-rw-r--r-- | cpukit/ada/rtems.adb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cpukit/ada/rtems.adb b/cpukit/ada/rtems.adb index 9bd7432be1..7a58956617 100644 --- a/cpukit/ada/rtems.adb +++ b/cpukit/ada/rtems.adb @@ -429,6 +429,21 @@ package body RTEMS is Result := Task_Resume_Base ( ID ); end Task_Resume; + + procedure Task_Is_Suspended ( + ID : in RTEMS.ID; + Result : out RTEMS.Status_Codes + ) is + function Task_Is_Suspended ( + ID : RTEMS.ID + ) return RTEMS.Status_Codes; + pragma Import (C, Task_Is_Suspended_Base, "rtems_task_is_suspended"); + begin + + Result := Task_Is_Suspended_Base ( ID ); + + end Task_Is_Suspended; + procedure Task_Set_Priority ( ID : in RTEMS.ID; |