Donny9 commented on pull request #4026:
URL: https://github.com/apache/incubator-nuttx/pull/4026#issuecomment-872986717


   > > > cxd56_pm_semtake
   > > 
   > > 
   > > @masayuki2009 The root cause of deadlock is that new task can't be sched 
and post semaphore, because i add sched_lock and sched_unlock before and after 
nx_bringup. But If we don't lock sched in smp, the system will crash because 
mem issue. How do you think this problem?
   > 
   > @Donny9
   > Though I've never seen such a problem before, can we change this function 
as optional and select it in Kconfig for your environment?
   
   @masayuki2009  cxd56_bringup shouldn't be called in idle thread and don't 
wait semaphore, we should fix this issue?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to