Files
nuttx/include
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
..
…
…
…
…
…
…
2024-10-23 09:42:57 +08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2024-11-26 19:25:24 +08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2024-11-30 03:25:17 +08:00
…
…
…
…
…
…
…
…
…
…
2024-11-01 16:59:37 +08:00
…
…
…
2024-10-16 11:15:25 +08:00
…
…
…
…