git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3943 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
285d06f3b6
commit
d32014ff1e
|
@ -269,7 +269,7 @@ bool_t chSchIsPreemptionRequired(void) {
|
||||||
if the first thread on the ready queue has a higher priority.
|
if the first thread on the ready queue has a higher priority.
|
||||||
Otherwise, if the running thread has used up its time quantum, reschedule
|
Otherwise, if the running thread has used up its time quantum, reschedule
|
||||||
if the first thread on the ready queue has equal or higher priority.*/
|
if the first thread on the ready queue has equal or higher priority.*/
|
||||||
return currp->r_preempt ? p1 > p2 : p1 >= p2;
|
return currp->p_preempt ? p1 > p2 : p1 >= p2;
|
||||||
#else
|
#else
|
||||||
/* If the round robin preemption feature is not enabled then performs a
|
/* If the round robin preemption feature is not enabled then performs a
|
||||||
simpler comparison.*/
|
simpler comparison.*/
|
||||||
|
|
2
todo.txt
2
todo.txt
|
@ -12,7 +12,7 @@ X SDC driver port to STM32F2 and STM32F4.
|
||||||
- CAN2 support and CAN driver test on STM32F2/F4.
|
- CAN2 support and CAN driver test on STM32F2/F4.
|
||||||
|
|
||||||
Within 2.5.x:
|
Within 2.5.x:
|
||||||
- Revision of scheduling strategy for threads at equal priority.
|
* Revision of scheduling strategy for threads at equal priority.
|
||||||
- Handling of Virtual Timer callbacks out of critical zone.
|
- Handling of Virtual Timer callbacks out of critical zone.
|
||||||
- Add normal API (not iclass) variants of the VT functions.
|
- Add normal API (not iclass) variants of the VT functions.
|
||||||
- Add the RTC service inside the kernel and port, remove from HAL.
|
- Add the RTC service inside the kernel and port, remove from HAL.
|
||||||
|
|
Loading…
Reference in New Issue