yangsong8-a1 opened a new pull request, #21586: URL: https://github.com/apache/nuttx/pull/21586
## Summary lirc_dev uses the global critical section to protect its list of open files and the per-file buffers. Use a spinlock in the upper half instead, and drop it around the blocking wait in read. ## Impact drivers/rc only. No API change. ## Testing Ubuntu 22.04, gcc 13.1, sim:nsh with CONFIG_DRIVERS_RC and CONFIG_RC_DUMMY. A test program polls and reads /dev/lirc0; samples from the dummy driver are received as before: ``` lirc: fd=3 read 4 samples ``` -- 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]
