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

   
   ## Summary
   
   `g_iob_sem.semcount` is both manually changed in iob source code and api
   nxsem_xxx.
   
   nxsem related API uses critical_section to ensure sem value is modified
   correctly. If iob using spin lock and modify sem value in the same time,
   it's not safe.
   
   This PR revert the spin lock change and uses critical section to align
   with what nxsem uses.
   
   ## Impact
   
   iob can work correctly.
   
   ## Testing
   
   Originally tested with iperf2 tool. cc @wangchen61698 
   
   
   


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