incubator-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 build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig semaphore: Change FS_NAMED_SEMPATH from "/var/lock" to "/var/sem" 2022-02-05 23:58:01 +01:00
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 fs/inode: using inode reference to indicate unlink and simply code 2024-09-09 08:42:34 +08:00
semaphore.h