sdc-g opened a new pull request, #15385: URL: https://github.com/apache/nuttx/pull/15385
*Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary g_work as singleton can be changed by context switching, but previous one async operation have not finished yet. adapt based on: 10a1d17a85a325f30c08e358a27c03d133a30ee3 ## Impact one additonal mutex is used for g_work to keep the sequence correctly. ## Testing reproduce and verified by below steps Variable g_wrok is sent to work_queue() function and set value to this variable. Another context changes g_work by call esp32_async_op during step 1. g_work of Step 1 is changed because g_work is singleton. Step 1 hanges because g_work of step 1 are cleared by step 2. -- 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