Changeset e5274df in rtems


Ignore:
Timestamp:
May 20, 2014, 8:03:35 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
40f2eaf
Parents:
2d96533
Message:

rtems: Clarify task set/get scheduler parameters

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/include/rtems/rtems/tasks.h

    r2d96533 re5274df  
    545545 * @brief Gets the scheduler of a task.
    546546 *
    547  * @param[in] id Identifier of the task.  Use @ref RTEMS_SELF to select the
    548  * executing task.
     547 * @param[in] task_id Identifier of the task.  Use @ref RTEMS_SELF to select
     548 * the executing task.
    549549 * @param[out] scheduler_id Identifier of the scheduler.
    550550 *
     
    554554 */
    555555rtems_status_code rtems_task_get_scheduler(
    556   rtems_id  id,
     556  rtems_id  task_id,
    557557  rtems_id *scheduler_id
    558558);
     
    564564 * created it.
    565565 *
    566  * @param[in] id Identifier of the task.  Use @ref RTEMS_SELF to select the
    567  * executing task.
     566 * @param[in] task_id Identifier of the task.  Use @ref RTEMS_SELF to select
     567 * the executing task.
    568568 * @param[in] scheduler_id Identifier of the scheduler.
    569569 *
     
    574574 */
    575575rtems_status_code rtems_task_set_scheduler(
    576   rtems_id id,
     576  rtems_id task_id,
    577577  rtems_id scheduler_id
    578578);
  • cpukit/rtems/src/taskgetscheduler.c

    r2d96533 re5274df  
    2121
    2222rtems_status_code rtems_task_get_scheduler(
    23   rtems_id  id,
     23  rtems_id  task_id,
    2424  rtems_id *scheduler_id
    2525)
     
    3232    const Scheduler_Control *scheduler;
    3333
    34     the_thread = _Thread_Get( id, &location );
     34    the_thread = _Thread_Get( task_id, &location );
    3535
    3636    switch ( location ) {
  • cpukit/rtems/src/tasksetscheduler.c

    r2d96533 re5274df  
    2121
    2222rtems_status_code rtems_task_set_scheduler(
    23   rtems_id id,
     23  rtems_id task_id,
    2424  rtems_id scheduler_id
    2525)
     
    3232    Objects_Locations  location;
    3333
    34     the_thread = _Thread_Get( id, &location );
     34    the_thread = _Thread_Get( task_id, &location );
    3535
    3636    switch ( location ) {
  • doc/user/smp.t

    r2d96533 re5274df  
    447447@example
    448448rtems_status_code rtems_task_get_scheduler(
    449   rtems_id  id,
     449  rtems_id  task_id,
    450450  rtems_id *scheduler_id
    451451);
     
    464464@subheading DESCRIPTION:
    465465
    466 Returns the scheduler identifier of a task in @code{scheduler_id}.
     466Returns the scheduler identifier of a task identified by @code{task_id} in
     467@code{scheduler_id}.
    467468
    468469@subheading NOTES:
     
    481482@example
    482483rtems_status_code rtems_task_set_scheduler(
    483   rtems_id id,
     484  rtems_id task_id,
    484485  rtems_id scheduler_id
    485486);
     
    499500@subheading DESCRIPTION:
    500501
    501 Sets the scheduler of a task specified by @code{scheduler_id}.  The scheduler
    502 of a task is initialized to the scheduler of the task that created it.
     502Sets the scheduler of a task identified by @code{task_id} to the scheduler
     503identified by @code{scheduler_id}.  The scheduler of a task is initialized to
     504the scheduler of the task that created it.
    503505
    504506@subheading NOTES:
Note: See TracChangeset for help on using the changeset viewer.