summaryrefslogtreecommitdiffstats
path: root/c/src/exec/itron/src/get_tid.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-10 13:48:27 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-10 13:48:27 +0000
commiteb02f47b126b56091ffaeaad470a48e2ac6d57b5 (patch)
treed52c66ad2d1a1b60d4eecd873949aa07477f8b87 /c/src/exec/itron/src/get_tid.c
parentAdded support for ITRON tests. (diff)
downloadrtems-eb02f47b126b56091ffaeaad470a48e2ac6d57b5.tar.bz2
Committed modifications from ITRON Task and Task Dependendent Synchronization
Working Group. Included are tests.
Diffstat (limited to 'c/src/exec/itron/src/get_tid.c')
-rw-r--r--c/src/exec/itron/src/get_tid.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/c/src/exec/itron/src/get_tid.c b/c/src/exec/itron/src/get_tid.c
index 1c5175052a..7904e3e167 100644
--- a/c/src/exec/itron/src/get_tid.c
+++ b/c/src/exec/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;
}