summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-02 15:34:40 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-02 15:34:40 +0000
commit3ba754e136b4575934cd4ed3fd378b09333a1d96 (patch)
treee69abd43c48c865b093e1db6d5971a88677f301f /c
parentAdded a case to support the core semaphore error returned when the (diff)
downloadrtems-3ba754e136b4575934cd4ed3fd378b09333a1d96.tar.bz2
Added comments for _RTEMS_tasks_Create_extension,
_RTEMS_tasks_Start_extension, _RTEMS_tasks_Delete_extension, and _RTEMS_tasks_Switch_extension.
Diffstat (limited to 'c')
-rw-r--r--c/src/exec/rtems/src/tasks.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/c/src/exec/rtems/src/tasks.c b/c/src/exec/rtems/src/tasks.c
index 589f53e86b..c711a89de3 100644
--- a/c/src/exec/rtems/src/tasks.c
+++ b/c/src/exec/rtems/src/tasks.c
@@ -33,7 +33,11 @@
*
* _RTEMS_tasks_Create_extension
*
- * XXX
+ * This routine is an extension routine that is invoked as part
+ * of creating any type of task or thread in the system. If the
+ * task is created via another API, then this routine is invoked
+ * and this API given the opportunity to initialize its extension
+ * area.
*/
boolean _RTEMS_tasks_Create_extension(
@@ -59,7 +63,8 @@ boolean _RTEMS_tasks_Create_extension(
*
* _RTEMS_tasks_Start_extension
*
- * XXX
+ * This extension routine is invoked when a task is started for the
+ * first time.
*/
User_extensions_routine _RTEMS_tasks_Start_extension(
@@ -80,7 +85,7 @@ User_extensions_routine _RTEMS_tasks_Start_extension(
*
* _RTEMS_tasks_Delete_extension
*
- * XXX
+ * This extension routine is invoked when a task is deleted.
*/
User_extensions_routine _RTEMS_tasks_Delete_extension(
@@ -97,7 +102,7 @@ User_extensions_routine _RTEMS_tasks_Delete_extension(
*
* _RTEMS_tasks_Switch_extension
*
- * XXX
+ * This extension routine is invoked at each context switch.
*/
void _RTEMS_tasks_Switch_extension(