summaryrefslogtreecommitdiffstats
path: root/c/src/ada/rtems.adb
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-07 16:17:41 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-07 16:17:41 +0000
commit1e3e81fdb69fc820576a3d088e4afae7b049a76f (patch)
treed072d0324c330d8b312d350cd9ac6f28f6b0d96d /c/src/ada/rtems.adb
parentRemoved targets and configurations that are no longer functional (diff)
downloadrtems-1e3e81fdb69fc820576a3d088e4afae7b049a76f.tar.bz2
Added Is_Suspended method.
Diffstat (limited to 'c/src/ada/rtems.adb')
-rw-r--r--c/src/ada/rtems.adb15
1 files changed, 15 insertions, 0 deletions
diff --git a/c/src/ada/rtems.adb b/c/src/ada/rtems.adb
index 9bd7432be1..7a58956617 100644
--- a/c/src/ada/rtems.adb
+++ b/c/src/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;