sebastianene07 commented on a change in pull request #1009: URL: https://github.com/apache/incubator-nuttx/pull/1009#discussion_r422494861
########## File path: arch/sim/include/irq.h ########## @@ -44,6 +44,10 @@ * Included Files ****************************************************************************/ +#ifdef CONFIG_SIM_PREEMPTIBLE +# include <ucontext.h> Review comment: I did this because I needed to keep the ```ucontext_t``` structure inside the TCB. Do you have a better alternative ? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org