mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
Documentation: document nxsched_abstick_sleep()
Document nxsched_abstick_sleep(). Signed-off-by: Chengdong Wang <wangchengdong@lixiang.com>
This commit is contained in:
@@ -13,6 +13,12 @@ Scheduled Sleep Interfaces (tick-based)
|
||||
Suspend the calling thread for a specified amount of time until the time expires
|
||||
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)
|
||||
|
||||
Suspends the calling thread from execution for the specified number of system ticks.
|
||||
|
||||
Reference in New Issue
Block a user