mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 08:54:05 +08:00
003b360d12
replace the semaphore to avoid the notifier holding the lock in the interrupt context ASSERT: libs/libc/assert/lib_assert.c:36 :_assert sched/semphore/sem_wait.c:113 :nxsem_wait sched/semphore/sem_wait.c:222 :nxsem_wait_uniterruptible sched/wqueue/kwork_notifier.c:371 :work_notifier_signal mm/iob/iob_free.c:188 :iob_free drivers/syslog/syslog_stream.c:272 :syslogstream_destroy ... sched/irq/irq_dispatch.c:183 :irq_dispatch Signed-off-by: chao.an <anchao@xiaomi.com>