harmony 鸿蒙sleep.h
sleep.h
Overview
The sleep.h file declares the sleep and yield interfaces in C.
File to include: <ffrt/sleep.h>
Library: libffrt.z.so
System capability: SystemCapability.Resourceschedule.Ffrt.Core
Since: 10
Related module: FFRT
Summary
Functions
Name | Description |
---|---|
FFRT_C_API int ffrt_usleep (uint64_t usec) | Sets the fixed sleep time. |
FFRT_C_API void ffrt_yield (void) | Passes control to other tasks so that they can be executed. |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙Function Flow Runtime Kit
harmony 鸿蒙condition_variable.h
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦