sebastianene07 edited a comment on pull request #1009:
URL: https://github.com/apache/incubator-nuttx/pull/1009#issuecomment-665449512


   > Yes, I have reviewed the patch and tried locally, but the problem is that 
ostest with SMP will hang randomly. we may need to redesign the task switch 
code like other arch(e.g. 
https://github.com/apache/incubator-nuttx/blob/master/arch/arm/src/armv7-m/arm_unblocktask.c#L85):
   > 1.Implement up_interrupt_context correctly
   > 2.Handle host signal(either timer siganl or SMP signal) like the hardware 
interrupt
   
   The behavior you are seeing may be related to the fact that `siglongjmp` 
can't restore the context created from other host thread, so the current 
implementation can't run with `SMP` config enabled.


----------------------------------------------------------------
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


Reply via email to