summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-16 16:07:52 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-16 16:07:52 +0000
commitf6d082148be6185a2d2414c464312b7b43bdcbc1 (patch)
treea0cde6fe8364faf87bb78f31cd0274a01e8cb0ea /c/src/exec/score
parentOnly check for System V IPC if multiprocessing is enabled. The unix (diff)
downloadrtems-f6d082148be6185a2d2414c464312b7b43bdcbc1.tar.bz2
Added prototype for _Thread_Reset() and numerous comments.
Diffstat (limited to 'c/src/exec/score')
-rw-r--r--c/src/exec/score/include/rtems/score/thread.h32
1 files changed, 28 insertions, 4 deletions
diff --git a/c/src/exec/score/include/rtems/score/thread.h b/c/src/exec/score/include/rtems/score/thread.h
index bfc42b6fad..8ac9e8ed26 100644
--- a/c/src/exec/score/include/rtems/score/thread.h
+++ b/c/src/exec/score/include/rtems/score/thread.h
@@ -386,7 +386,10 @@ void _Thread_Stack_Free(
*
* DESCRIPTION:
*
- * 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.
*
* NOTES:
*
@@ -415,7 +418,9 @@ boolean _Thread_Initialize(
*
* 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(
@@ -431,7 +436,9 @@ boolean _Thread_Start(
*
* DESCRIPTION:
*
- * XXX
+ * This support routine restarts the specified task in a way that the
+ * next time this thread executes, it will begin execution at its
+ * original starting point.
*/
/* XXX multiple task arg profiles */
@@ -443,11 +450,28 @@ boolean _Thread_Restart(
);
/*
+ * _Thread_Reset
+ *
+ * DESCRIPTION:
+ *
+ * This routine resets a thread to its initial state but does
+ * not restart it.
+ */
+
+void _Thread_Reset(
+ Thread_Control *the_thread,
+ void *pointer_argument,
+ unsigned32 numeric_argument
+);
+
+/*
* _Thread_Close
*
* 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(