This Halloween Pikachu follows your mouse or screen taps

11 2023 档案

摘要:使用: ThreadPool threadPool(12); //设定数量 threadPool.queue(myFunction,args1,args2,...); //创建任务 实现: #include <windows.h> #include <iostream> #include <func 阅读全文
posted @ 2023-11-27 15:00 图图雷 阅读(65) 评论(0) 推荐(0) 编辑
摘要:使用: //创建 ThreadPool* pool = new ThreadPool(10); //分配任务 函数+参数,参数可以添加多个,后续逗号分隔 pool->enqueue(Myfunction,data); ThreadPool实现: #include <vector> #include 阅读全文
posted @ 2023-11-09 15:01 图图雷 阅读(15) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示