Repartition functionality in preparation for nested, pending reprioritization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1592 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
367beee228
commit
11cdf4251e
@ -151,6 +151,9 @@ STATUS task_restart(pid_t pid)
|
|||||||
tcb->sched_priority = tcb->init_priority;
|
tcb->sched_priority = tcb->init_priority;
|
||||||
#ifdef CONFIG_PRIORITY_INHERITANCE
|
#ifdef CONFIG_PRIORITY_INHERITANCE
|
||||||
tcb->base_priority = tcb->init_priority;
|
tcb->base_priority = tcb->init_priority;
|
||||||
|
# if CONFIG_SEM_NNESTPRIO > 0
|
||||||
|
tcb->npend_reprio = 0;
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Re-initialize the processor-specific portion of the TCB
|
/* Re-initialize the processor-specific portion of the TCB
|
||||||
|
Loading…
Reference in New Issue
Block a user