首页 行业 互联网     /    C++定时器windows平台

C++定时器windows平台

上传者: qq_23530731 | 上传时间:2023/5/31 4:35:36 | 文件大小:1.61MB | 文件类型:ZIP
C++定时器windows平台
仅在windows10平台下,vs2019编译器上,使用ISOC++14标准编译通过,目前没有跨平台。
因为代码较少,没有生成库。
直接拷贝除Main.cpp之外的.cpp和.h文件到自己的项目中使用。
Main.cpp文件中举例了使用方法。
每一个定时器用一个单独的线程来实现定时器的定时任务。
同一个定时器可以添加多个定时任务。
但因为每个定时任务的执行需要时间,相互之间可能会有影响。
执行耗时的任务时,需要在定时的执行函数中建立单独的线程来执行定时任务。
使用mit许可证。
github上会及时更新:https://github.com/Jaf932074323/Timer.git

文件下载

资源详情

[{"title":"(30个子文件1.61MB)C++定时器windows平台","children":[{"title":".gitignore <span style='color:#111;'>327B</span>","children":null,"spread":false},{"title":"Product","children":[{"title":"Release","children":[{"title":"Win32","children":[{"title":"Timer.pdb <span style='color:#111;'>988.00KB</span>","children":null,"spread":false},{"title":"Timer.ipdb <span style='color:#111;'>186.22KB</span>","children":null,"spread":false},{"title":"Timer.iobj <span style='color:#111;'>594.62KB</span>","children":null,"spread":false},{"title":"Timer.exe <span style='color:#111;'>25.00KB</span>","children":null,"spread":false}],"spread":true},{"title":"x64","children":[{"title":"Timer.pdb <span style='color:#111;'>844.00KB</span>","children":null,"spread":false},{"title":"Timer.ipdb <span style='color:#111;'>264.25KB</span>","children":null,"spread":false},{"title":"Timer.iobj <span style='color:#111;'>520.47KB</span>","children":null,"spread":false},{"title":"Timer.exe <span style='color:#111;'>23.00KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Debug","children":[{"title":"Win32","children":[{"title":"Timer.ilk <span style='color:#111;'>1023.15KB</span>","children":null,"spread":false},{"title":"Timer.pdb <span style='color:#111;'>1.35MB</span>","children":null,"spread":false},{"title":"Timer.exe <span style='color:#111;'>147.00KB</span>","children":null,"spread":false}],"spread":true},{"title":"x64","children":[{"title":"Timer.ilk <span style='color:#111;'>962.05KB</span>","children":null,"spread":false},{"title":"Timer.pdb <span style='color:#111;'>788.00KB</span>","children":null,"spread":false},{"title":"Timer.exe <span style='color:#111;'>167.50KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'>1.06KB</span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'>623B</span>","children":null,"spread":false},{"title":"Timer","children":[{"title":"Timer.sln <span style='color:#111;'>1.40KB</span>","children":null,"spread":false},{"title":"Timer","children":[{"title":"Include","children":[{"title":"Timer","children":[{"title":"TimerBase.h <span style='color:#111;'>3.13KB</span>","children":null,"spread":false},{"title":"TimerInterface.h <span style='color:#111;'>2.66KB</span>","children":null,"spread":false},{"title":"HighPrecisionTimer.h <span style='color:#111;'>1.64KB</span>","children":null,"spread":false},{"title":"TickTimer.h <span style='color:#111;'>1.53KB</span>","children":null,"spread":false},{"title":"Head.h <span style='color:#111;'>1.24KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Main.cpp <span style='color:#111;'>2.30KB</span>","children":null,"spread":false},{"title":"Timer.vcxproj.user <span style='color:#111;'>168B</span>","children":null,"spread":false},{"title":"Code","children":[{"title":"TickTimer.cpp <span style='color:#111;'>1.37KB</span>","children":null,"spread":false},{"title":"TimerBase.cpp <span style='color:#111;'>5.13KB</span>","children":null,"spread":false},{"title":"HighPrecisionTimer.cpp <span style='color:#111;'>1.63KB</span>","children":null,"spread":false}],"spread":true},{"title":"Timer.vcxproj <span style='color:#111;'>8.29KB</span>","children":null,"spread":false},{"title":"Timer.vcxproj.filters <span style='color:#111;'>1.88KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明