摘要: libc 提供了 timer_create, timer_settime, timer_delete 等函数来创建设置定时器。 clockid 用于指定测量时间的方式, 可以设为以下值: CLOCK_REALTIME使用系统实时时钟CLOCK_MONOTONIC一种不可设置的单调递增时钟,用于测量过 阅读全文
posted @ 2021-10-15 16:33 不止所见 阅读(276) 评论(0) 推荐(0) 编辑