forked from nuttx/nuttx-update
b74a50775f
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> |
||
---|---|---|
.. | ||
libbuiltin | ||
libc | ||
libdsp | ||
libm | ||
libnx | ||
libxx | ||
CMakeLists.txt |