mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
a0813b808f
and optimize the critical section usage 1.Remove the unnecessary critical section in ramlog_readnotify 2.Move the enter/leave critical section out of ramlog_pollnotify loop 3.Move the critical section of ramlog_addchar to caller Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>