Add REVISIT to comments.
This commit is contained in:
parent
902c41462d
commit
a51b5b7e17
@ -319,7 +319,10 @@ bool sched_addreadytorun(FAR struct tcb_s *btcb)
|
||||
/* Adjust global IRQ controls. This works differently if we are
|
||||
* performing a context switch from an interrupt handler and the
|
||||
* interrupt handler has established a critical section. We can
|
||||
* detect this case when g_cpu_nestcount[me] > 0:
|
||||
* detect this case when g_cpu_nestcount[me] > 0.
|
||||
*
|
||||
* REVISIT: Could this not cause logic to exit the critical
|
||||
* section prematurely in the context switch sequence?
|
||||
*/
|
||||
|
||||
if (g_cpu_nestcount[me] <= 0)
|
||||
|
@ -263,7 +263,10 @@ bool sched_removereadytorun(FAR struct tcb_s *rtcb)
|
||||
/* Adjust global IRQ controls. This works differently if we are
|
||||
* performing a context switch from an interrupt handler and the
|
||||
* interrupt handler has established a critical section. We can
|
||||
* detect this case when g_cpu_nestcount[me] > 0:
|
||||
* detect this case when g_cpu_nestcount[me] > 0.
|
||||
*
|
||||
* REVISIT: Could this not cause logic to exit the critical section
|
||||
* prematurely in the context switch sequence?
|
||||
*/
|
||||
|
||||
if (g_cpu_nestcount[me] <= 0)
|
||||
|
Loading…
Reference in New Issue
Block a user