nuttx/fs/mqueue
chenrun1 4cec713dbf fs_inode:Change the type of i_crefs to atomic_int
Summary:
  1.Modified the i_crefs from int16_t to atomic_int
  2.Modified the i_crefs add, delete, read, and initialize interfaces to atomic operations
The purpose of this change is to avoid deadlock in cross-core scenarios, where A Core blocks B Core’s request for a write operation to A Core when A Core requests a read operation to B Core.

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2024-09-23 14:07:03 +08:00
..
CMakeLists.txt
Kconfig
Make.defs
mq_close.c
mq_open.c fs_inode:Change the type of i_crefs to atomic_int 2024-09-23 14:07:03 +08:00
mq_unlink.c fs_inode:Change the type of i_crefs to atomic_int 2024-09-23 14:07:03 +08:00
mqueue.h