mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 05:16:47 +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
|
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user