summaryrefslogtreecommitdiffstats
path: root/cpukit/score
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-16 16:10:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-16 16:10:39 +0000
commit0cb7cb9e7c75c2e660f6ab8f43995cdcd9471a14 (patch)
tree51f86f885fc56f711d8f53f62c221366349d12d8 /cpukit/score
parentNow use _Thread_Reset(). (diff)
downloadrtems-0cb7cb9e7c75c2e660f6ab8f43995cdcd9471a14.tar.bz2
Added comments.
Diffstat (limited to 'cpukit/score')
-rw-r--r--cpukit/score/src/threadclose.c4
-rw-r--r--cpukit/score/src/threadinitialize.c5
-rw-r--r--cpukit/score/src/threadstart.c4
3 files changed, 10 insertions, 3 deletions
diff --git a/cpukit/score/src/threadclose.c b/cpukit/score/src/threadclose.c
index a0f6009ba4..79f78827db 100644
--- a/cpukit/score/src/threadclose.c
+++ b/cpukit/score/src/threadclose.c
@@ -32,7 +32,9 @@
*
* DESCRIPTION:
*
- * XXX
+ * This routine frees all memory associated with the specified
+ * thread and removes it from the local object table so no further
+ * operations on this thread are allowed.
*/
void _Thread_Close(
diff --git a/cpukit/score/src/threadinitialize.c b/cpukit/score/src/threadinitialize.c
index f294d865bf..ceec9811eb 100644
--- a/cpukit/score/src/threadinitialize.c
+++ b/cpukit/score/src/threadinitialize.c
@@ -31,7 +31,10 @@
*
* _Thread_Initialize
*
- * XXX
+ * This routine initializes the specified the thread. It allocates
+ * all memory associated with this thread. It completes by adding
+ * the thread to the local object table so operations on this
+ * thread id are allowed.
*/
boolean _Thread_Initialize(
diff --git a/cpukit/score/src/threadstart.c b/cpukit/score/src/threadstart.c
index fa72eabfd9..6f26ba75c1 100644
--- a/cpukit/score/src/threadstart.c
+++ b/cpukit/score/src/threadstart.c
@@ -32,7 +32,9 @@
*
* DESCRIPTION:
*
- * XXX
+ * This routine initializes the executable information for a thread
+ * and makes it ready to execute. After this routine executes, the
+ * thread competes with all other threads for CPU time.
*/
boolean _Thread_Start(