diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-04-16 16:02:24 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-04-17 08:06:39 +0200 |
commit | babb1a2ce86f6941107b160478074cd133654132 (patch) | |
tree | fe976de02a62a3a43ae501c58bbb75d9d823387d /doc/user/smp.t | |
parent | doc: rtems_scheduler_get_processor_set() (diff) | |
download | rtems-babb1a2ce86f6941107b160478074cd133654132.tar.bz2 |
doc: rtems_task_get_scheduler()
Diffstat (limited to '')
-rw-r--r-- | doc/user/smp.t | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/user/smp.t b/doc/user/smp.t index bd840c1da6..abdd81cd77 100644 --- a/doc/user/smp.t +++ b/doc/user/smp.t @@ -18,6 +18,7 @@ The application level services currently provided are: @item @code{rtems_get_current_processor} - Get current processor index @item @code{rtems_scheduler_ident} - Get ID of a scheduler @item @code{rtems_scheduler_get_processor_set} - Get processor set of a scheduler +@item @code{rtems_task_get_scheduler} - Get scheduler of a task @item @code{rtems_task_get_affinity} - Get task processor affinity @item @code{rtems_task_set_affinity} - Set task processor affinity @end itemize @@ -374,6 +375,40 @@ cleared bit means the opposite. None. @c +@c rtems_task_get_scheduler +@c +@page +@subsection TASK_GET_SCHEDULER - Get scheduler of a task + +@subheading CALLING SEQUENCE: + +@ifset is-C +@example +rtems_status_code rtems_task_get_scheduler( + rtems_id id, + rtems_id *scheduler_id +); +@end example +@end ifset + +@ifset is-Ada +@end ifset + +@subheading DIRECTIVE STATUS CODES: + +@code{@value{RPREFIX}SUCCESSFUL} - successful operation@* +@code{@value{RPREFIX}INVALID_ADDRESS} - @code{scheduler_id} is NULL@* +@code{@value{RPREFIX}INVALID_ID} - invalid task id + +@subheading DESCRIPTION: + +Returns the scheduler identifier of a task in @code{scheduler_id}. + +@subheading NOTES: + +None. + +@c @c rtems_task_get_affinity @c @page |