mirror of
https://github.com/apache/nuttx.git
synced 2026-10-23 23:08:44 +00:00
Update some comments
This commit is contained in:
parent
16712b09fe
commit
4e303a5c4a
1 changed files with 8 additions and 0 deletions
|
|
@ -150,6 +150,14 @@ static void *simuart_thread(void *arg)
|
|||
}
|
||||
}
|
||||
|
||||
/* REVISIT: This is very weird and scary here. When sched_unlock()
|
||||
* is called, we may do a lonjmp() style context switch meaning
|
||||
* that the logic will be run running on this thread! (but with a
|
||||
* different stack). So we do not get back here until the task
|
||||
* sleeps again. I can't help but believe that that is going to
|
||||
* be a problem someday.
|
||||
*/
|
||||
|
||||
sched_unlock();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue