harmony 鸿蒙timer.h

2025-06-12 浏览 (1)

timer.h

概述

声明定时器的C接口。

引用文件:<ffrt/timer.h>

库: libffrt.z.so

系统能力: SystemCapability.Resourceschedule.Ffrt.Core

起始版本: 12

相关模块:FFRT

汇总

函数

名称描述
FFRT_C_API ffrt_timer_t ffrt_timer_start (ffrt_qos_t qos, uint64_t timeout, void *data, ffrt_timer_cb cb, bool repeat)启动计时器。
FFRT_C_API int ffrt_timer_stop (ffrt_qos_t qos, ffrt_timer_t handle)关闭计时器。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Function Flow Runtime Kit(任务并发调度服务)

harmony 鸿蒙FFRT

harmony 鸿蒙condition_variable.h

harmony 鸿蒙ffrt_cond_t

harmony 鸿蒙ffrt_condattr_t

harmony 鸿蒙ffrt_dependence_t

harmony 鸿蒙ffrt_deps_t

harmony 鸿蒙ffrt_function_header_t

harmony 鸿蒙ffrt_mutex_t

harmony 鸿蒙ffrt_mutexattr_t

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/oTbnvW