# sleep.h ## Overview The **sleep.h** file declares the sleep and yield interfaces in C. **Since**: 10 **Related module**: [FFRT](_f_f_r_t.md) ## Summary ### Functions | Name| Description| | -------- | -------- | | FFRT_C_API int [ffrt_usleep](_f_f_r_t.md#ffrt_usleep) (uint64_t usec) | Suspends the calling thread for a given duration. | | FFRT_C_API void [ffrt_yield](_f_f_r_t.md#ffrt_yield) (void) | Passes control to other tasks so that they can be executed. |