nuttx-update/libs
zhangyuan29 b74a50775f 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-10 22:00:42 +08:00
..
libbuiltin gcov.c: Add necessary instrumentation functions 2024-12-10 19:42:31 +08:00
libc sem: change sem wait to atomic operation 2024-12-10 22:00:42 +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 libcxxabi: Soft link the libcxxabi header file to nuttx/include. 2024-12-05 21:56:23 +08:00
CMakeLists.txt libs: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00