[RTEMS Project] #2749: rtems_task_set_scheduler() has insufficient parameters

RTEMS trac trac at rtems.org
Fri Jul 1 09:58:55 UTC 2016


#2749: rtems_task_set_scheduler() has insufficient parameters
-----------------------------+------------------------------
 Reporter:  sebastian.huber  |       Owner:  sebastian.huber
     Type:  defect           |      Status:  closed
 Priority:  normal           |   Milestone:  4.12
Component:  SMP              |     Version:  4.11
 Severity:  normal           |  Resolution:  fixed
 Keywords:                   |
-----------------------------+------------------------------
Changes (by Sebastian Huber <sebastian.huber@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"c0bd0064ac41f0602c0abfe494dbe140d7c5282f/rtems"]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="c0bd0064ac41f0602c0abfe494dbe140d7c5282f"
 rtems: Fix rtems_task_set_scheduler() API

 Task priorities are only valid within a scheduler instance. The
 rtems_task_set_scheduler() directive moves a task from one scheduler
 instance to another using the current priority of the thread. However,
 the current task priority of the source scheduler instance is undefined
 in the target scheduler instance. Add a third parameter to specify the
 priority.

 Close #2749.
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/2749#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list