summaryrefslogtreecommitdiffstats
path: root/cpukit/itron/src/ext_tsk.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/itron/src/ext_tsk.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/cpukit/itron/src/ext_tsk.c b/cpukit/itron/src/ext_tsk.c
new file mode 100644
index 0000000000..a8a3b0ec23
--- /dev/null
+++ b/cpukit/itron/src/ext_tsk.c
@@ -0,0 +1,27 @@
+/*
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
+ */
+
+#include <itron.h>
+
+#include <rtems/score/thread.h>
+#include <rtems/score/userext.h>
+#include <rtems/score/wkspace.h>
+#include <rtems/score/apiext.h>
+#include <rtems/score/sysstate.h>
+
+#include <rtems/itron/task.h>
+
+
+/*
+ * ext_tsk - Exit Issuing Task
+ */
+
+void ext_tsk( void )
+{
+ _Thread_Set_state( _Thread_Executing, STATES_DORMANT );
+}