nuttx/fs/semaphore
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
sem_close.c fs_inode:Change the type of i_crefs to atomic_int 2024-09-23 14:07:03 +08:00
sem_open.c fs_inode:Change the type of i_crefs to atomic_int 2024-09-23 14:07:03 +08:00
sem_unlink.c
semaphore.h