Hi,

I noticed that both the armv7m and x86 port of nuttx's signal sending
procedure cannot handle nested signals.

I am wondering that in the up_sigdeliver functions.
A task A, being signaled, is possibile to be switch-out because of
 1. calling syslog via sinfo
 2. interrupts

A newly switched in task might send a second signal to the task A.
In such case, the saved instruction pointer value in the TCB might get
overwritten, causing a consecutive incorrect execution path when
returning tho the previous signal.

Am I correct or did I missed something here?

--
Yang Chung Fan (楊宗凡) (ヤン ゾン ファン)
Member of Softlab, Tsukuba University , Japan
Email: sonic.tw...@gmail.com

Reply via email to