Ouss4 edited a comment on pull request #5752: URL: https://github.com/apache/incubator-nuttx/pull/5752#issuecomment-1069012395
Yes, I remember the deadlock, this is why we unlock the spinlock before calling `uart_xmitchars`: https://github.com/apache/incubator-nuttx/blob/bbf12f3b1b2a8ba272a21db20c351ad7e41d3ecd/arch/xtensa/src/esp32/esp32_serial.c#L1801-L1802 `uart_xmitchars` will end up calling `up_txint` recursively, so without that it will deadlock. -- 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]
