Changeset 4b10f200 in rtems


Ignore:
Timestamp:
Jan 11, 2008, 10:26:29 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
c730ce07
Parents:
aec29f1
Message:

2008-01-11 Joel Sherrill <joel.sherrill@…>

  • user/task.t: Add manual page for rtems_task_self().
Location:
doc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/ChangeLog

    raec29f1 r4b10f200  
     12008-01-11      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * user/task.t: Add manual page for rtems_task_self().
     4
    152007-12-11      Joel Sherrill <joel.sherrill@OARcorp.com>
    26
  • doc/user/task.t

    raec29f1 r4b10f200  
    11@c
    2 @c  COPYRIGHT (c) 1988-2007.
     2@c  COPYRIGHT (c) 1988-2008.
    33@c  On-Line Applications Research Corporation (OAR).
    44@c  All rights reserved.
     
    2020@item @code{@value{DIRPREFIX}task_create} - Create a task
    2121@item @code{@value{DIRPREFIX}task_ident} - Get ID of a task
     22@item @code{@value{DIRPREFIX}task_self} - Obtain ID of caller
    2223@item @code{@value{DIRPREFIX}task_start} - Start a task
    2324@item @code{@value{DIRPREFIX}task_restart} - Restart a task
     
    848849This directive does not generate activity on remote nodes.  It
    849850accesses only the local copy of the global object table.
     851
     852@page
     853
     854@subsection TASK_SELF - Obtain ID of caller
     855
     856@cindex obtain ID of caller
     857
     858@subheading CALLING SEQUENCE:
     859
     860@ifset is-C
     861@findex rtems_task_self
     862@example
     863rtems_id rtems_task_self(void);
     864@end example
     865@end ifset
     866
     867@ifset is-Ada
     868@example
     869function Task_Self return RTEMS.ID;
     870@end example
     871@end ifset
     872
     873@subheading DIRECTIVE STATUS CODES:
     874Returns the object Id of the calling task.
     875
     876@subheading DESCRIPTION:
     877This directive returns the Id of the calling task.
     878
     879@subheading NOTES:
     880If called from an interrupt service routine, this directive
     881will return the Id of the interrupted task.
    850882
    851883@page
Note: See TracChangeset for help on using the changeset viewer.