完成了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

@@ -146,7 +146,6 @@ pthread_kill(pthread_self(), SIGINT); // 多线程等价
*
* @eg: 使用单一计时器,构造一组函数,实现任意数量的定时器
* 用到 alarm 或 setitimer
* TODO
*
* 返回值成功返回0失败返回非零
*/