incubator-nuttx/mm/iob
liguiding1 b4def16ac3 Revert "mm/iob: Replace the critical section with spin lock"
`g_iob_sem.semcount` is both manually changed in iob source code and api
nxsem_xxx.

nxsem related API uses critical_section to ensure sem value is modified
correctly. If iob using spin lock and modify sem value in the same time,
it's not safe.

This PR revert the spin lock change and uses critical section to align
with what nxsem uses.
2024-10-15 22:45:02 +08:00
..
CMakeLists.txt
Kconfig
Make.defs
iob.h
iob_add_queue.c
iob_alloc.c
iob_alloc_qentry.c
iob_clone.c
iob_concat.c
iob_contig.c
iob_copyin.c
iob_copyout.c
iob_count.c
iob_dump.c
iob_free.c
iob_free_chain.c
iob_free_qentry.c
iob_free_queue.c
iob_free_queue_qentry.c
iob_get_queue_info.c
iob_initialize.c
iob_navail.c
iob_notifier.c
iob_pack.c
iob_peek_queue.c
iob_remove_queue.c
iob_reserve.c
iob_statistics.c
iob_tailroom.c
iob_test.c
iob_trimhead.c
iob_trimhead_queue.c
iob_trimtail.c
iob_update_pktlen.c