summaryrefslogtreecommitdiffstats
path: root/cpukit/itron/src/get_tid.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/itron/src/get_tid.c')
-rw-r--r--cpukit/itron/src/get_tid.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/itron/src/get_tid.c b/cpukit/itron/src/get_tid.c
index 1c5175052a..7904e3e167 100644
--- a/cpukit/itron/src/get_tid.c
+++ b/cpukit/itron/src/get_tid.c
@@ -24,6 +24,12 @@ ER get_tid(
ID *p_tskid
)
{
+ /*
+ * This does not support multiprocessing. The id handling will have
+ * to be enhanced to support multiprocessing.
+ */
+
+ *p_tskid = _Objects_Get_index( _Thread_Executing->Object.id );
return E_OK;
}