Documentation: document nxsched_abstick_sleep()

Document nxsched_abstick_sleep().

Signed-off-by: Chengdong Wang <wangchengdong@lixiang.com>
This commit is contained in:
wangchengdong
2026-02-26 10:46:34 +08:00
committed by archer
parent 23d48da4bd
commit c7b2313cdd
+6
View File
@@ -13,6 +13,12 @@ Scheduled Sleep Interfaces (tick-based)
Suspend the calling thread for a specified amount of time until the time expires Suspend the calling thread for a specified amount of time until the time expires
or the thread is explicitly woken up through scheduler operations. or the thread is explicitly woken up through scheduler operations.
.. c:function:: void nxsched_abstick_sleep(clock_t ticks)
Suspends the calling thread from execution until the specified absolute time in clock ticks.
:param ticks: Absolute time in clock ticks.
.. c:function:: void nxsched_ticksleep(unsigned int ticks) .. c:function:: void nxsched_ticksleep(unsigned int ticks)
Suspends the calling thread from execution for the specified number of system ticks. Suspends the calling thread from execution for the specified number of system ticks.