nuttx-update/libs
zhangyuan29 eae46b0823 sem: change sem wait to atomic operation
Add sem_wait fast operations, use atomic to ensure
atomicity of semcount operations, and do not depend
on critical section.

Test with robot:
before modify:
nxmutex_lock cost: 78 ns
nxmutex_unlock cost: 82 ns

after modify:
nxmutex_lock cost: 28 ns
nxmutex_unlock cost: 14 ns

Signed-off-by: zhangyuan29 <zhangyuan29@xiaomi.com>
2024-12-17 15:40:48 +08:00
..
libbuiltin gcc/gcov: Add instrumentation function 2024-12-03 23:51:12 +08:00
libc sem: change sem wait to atomic operation 2024-12-17 15:40:48 +08:00
libdsp libs/libdsp: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
libm libm/newlib: Add arch-specific source code first to CSRCS 2024-12-04 02:10:41 +08:00
libnx makefile/build: Delete unnecessary bin and kbin folders 2024-11-10 01:18:26 +08:00
libxx libxx: Make LIBCXXABI default for sim/macOS 2024-12-17 09:25:24 +08:00
CMakeLists.txt libs: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00