a-lunev commented on pull request #4575: URL: https://github.com/apache/incubator-nuttx/pull/4575#issuecomment-926305154
> @a-lunev but my change make the fail path more simple. @xiaoxiang781216 There are pros and cons of each way. The existing code seems having better performance (no locks/unlocks of d_flags), however it's slightly complex in this local place in devif_callback.c file. Otherwise, there is a need to synchronize access to d_flags (adding locks/unlocks in multiple places of several files) that may reduce performance. -- 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