mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Repartition functionality in preparation for nested, pending reprioritization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1591 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -109,9 +109,6 @@ void up_reprioritize_rtr(_TCB *tcb, ubyte priority)
|
|||||||
/* Setup up the new task priority */
|
/* Setup up the new task priority */
|
||||||
|
|
||||||
tcb->sched_priority = (ubyte)priority;
|
tcb->sched_priority = (ubyte)priority;
|
||||||
#ifdef CONFIG_PRIORITY_INHERITANCE
|
|
||||||
tcb->base_priority = (ubyte)priority;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Return the task to the specified blocked task list.
|
/* Return the task to the specified blocked task list.
|
||||||
* sched_addreadytorun will return TRUE if the task was
|
* sched_addreadytorun will return TRUE if the task was
|
||||||
|
|||||||
@@ -109,9 +109,6 @@ void up_reprioritize_rtr(FAR _TCB *tcb, ubyte priority)
|
|||||||
/* Setup up the new task priority */
|
/* Setup up the new task priority */
|
||||||
|
|
||||||
tcb->sched_priority = (ubyte)priority;
|
tcb->sched_priority = (ubyte)priority;
|
||||||
#ifdef CONFIG_PRIORITY_INHERITANCE
|
|
||||||
tcb->base_priority = (ubyte)priority;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Return the task to the specified blocked task list.
|
/* Return the task to the specified blocked task list.
|
||||||
* sched_addreadytorun will return TRUE if the task was
|
* sched_addreadytorun will return TRUE if the task was
|
||||||
|
|||||||
@@ -109,9 +109,6 @@ void up_reprioritize_rtr(_TCB *tcb, ubyte priority)
|
|||||||
/* Setup up the new task priority */
|
/* Setup up the new task priority */
|
||||||
|
|
||||||
tcb->sched_priority = (ubyte)priority;
|
tcb->sched_priority = (ubyte)priority;
|
||||||
#ifdef CONFIG_PRIORITY_INHERITANCE
|
|
||||||
tcb->base_priority = (ubyte)priority;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Return the task to the specified blocked task list.
|
/* Return the task to the specified blocked task list.
|
||||||
* sched_addreadytorun will return TRUE if the task was
|
* sched_addreadytorun will return TRUE if the task was
|
||||||
|
|||||||
@@ -109,9 +109,6 @@ void up_reprioritize_rtr(_TCB *tcb, ubyte priority)
|
|||||||
/* Setup up the new task priority */
|
/* Setup up the new task priority */
|
||||||
|
|
||||||
tcb->sched_priority = (ubyte)priority;
|
tcb->sched_priority = (ubyte)priority;
|
||||||
#ifdef CONFIG_PRIORITY_INHERITANCE
|
|
||||||
tcb->base_priority = (ubyte)priority;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Return the task to the specified blocked task list.
|
/* Return the task to the specified blocked task list.
|
||||||
* sched_addreadytorun will return TRUE if the task was
|
* sched_addreadytorun will return TRUE if the task was
|
||||||
|
|||||||
@@ -113,9 +113,6 @@ void up_reprioritize_rtr(FAR _TCB *tcb, ubyte priority)
|
|||||||
/* Setup up the new task priority */
|
/* Setup up the new task priority */
|
||||||
|
|
||||||
tcb->sched_priority = (ubyte)priority;
|
tcb->sched_priority = (ubyte)priority;
|
||||||
#ifdef CONFIG_PRIORITY_INHERITANCE
|
|
||||||
tcb->base_priority = (ubyte)priority;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Return the task to the specified blocked task list.
|
/* Return the task to the specified blocked task list.
|
||||||
* sched_addreadytorun will return TRUE if the task was
|
* sched_addreadytorun will return TRUE if the task was
|
||||||
|
|||||||
@@ -114,9 +114,6 @@ void up_reprioritize_rtr(FAR _TCB *tcb, ubyte priority)
|
|||||||
/* Setup up the new task priority */
|
/* Setup up the new task priority */
|
||||||
|
|
||||||
tcb->sched_priority = (ubyte)priority;
|
tcb->sched_priority = (ubyte)priority;
|
||||||
#ifdef CONFIG_PRIORITY_INHERITANCE
|
|
||||||
tcb->base_priority = (ubyte)priority;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Return the task to the specified blocked task list.
|
/* Return the task to the specified blocked task list.
|
||||||
* sched_addreadytorun will return TRUE if the task was
|
* sched_addreadytorun will return TRUE if the task was
|
||||||
|
|||||||
Reference in New Issue
Block a user