完成了anytimer

This commit is contained in:
lzy
2024-05-27 17:53:01 +08:00
parent 38ae87f0d6
commit 5598552b22
4 changed files with 230 additions and 3 deletions

View File

@@ -1,3 +1,14 @@
/********************************************************************
* @file anytimer.h
* @brief
* 单一计时器实现任意数量定时器
* @author lzy (lllzzzyyy@buaa.edu.cn)
* @url https://lzyyyyyy.fun
*
* @date 2024-05-27
*
********************************************************************/
#ifndef __ANYTIMER__H__
#define __ANYTIMER__H__
@@ -40,7 +51,6 @@ int at_canceljob(int id);
********************************************************************/
int at_waitjob(int id);
int at_pausejob(int id);
int at_resumejob(int id);