mirror of
https://github.com/apache/nuttx.git
synced 2025-12-12 13:55:18 +08:00
Introduce the nxched_nanosleep() API to provide a lightweight nanosecond-level sleep based on nxsched_ticksleep(). This API offers the same functionality as nxsig_nanosleep() but without signal-related overhead, making it suitable for implementing libc sleep() or usleep() when signals are disabled. Signed-off-by: Chengdong Wang wangchengdong@lixiang.com