hujun260 opened a new pull request, #9065:
URL: https://github.com/apache/nuttx/pull/9065

   pthread_cancel may block forever
   ## Summary
   In smp when cpu0 calls up_cpu_resume to release the cpu1 lock, another 
locked cpu1 did not execute immediately, and soon cpu0 called up_cpu_resume 
again,  now cpu1 unable to respond to the interrupt at this time, resulting in 
a deadlock. Our solution is to restore cpu1 execution from asynchronous to 
synchronous to ensure that cpu1 is restored.
   
   ## Impact
   none
   
   ## Testing
   ostest
   


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

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to