lzpong/threadpool
based on C++11 , a mini threadpool , accept variable number of parameters 基于C++11的线程池,简洁且可以带任意多的参数
C++
Issues
- 3
发现一个bug
#29 opened by lzq20010630 - 0
单例模式
#31 opened by chenjian88888 - 0
关于自动释放线程的一个问题
#30 opened by sumover - 1
idlThrNum是原子变量,是否不需要加锁?
#28 opened by ketop - 1
- 1
thread pool 与 numactl 同时使用,出现捕获不到commit的tasks
#20 opened by a32543254 - 1
error: no instance of function template "std::threadpool::commit" matches the argument list
#27 opened by thuzhf - 1
threadpool初始化就抛出异常了
#15 opened by shiwanghua - 1
AUTO_GROW的线程大多时候创建完就退出了
#14 opened by StealPumpkins - 2
{”: 缺少函数标题(是否是老式的形式表?)
#11 opened by yizhongtian - 6
普通成员函数的调用参数问题
#8 opened by windflowerly - 4
编译不过
#7 opened by CalibrationDream - 1
长时间运行后Threadpool为什么会变慢?
#22 opened by Luwill6 - 1
你真的有运行过你的代码吗?
#25 opened by zcwtop - 1
关于 auto task = std::make_shared<std::packaged_task<ResType()>>(std::bind(std::forward<F>(f), std::forward<Args>(args)...) );
#23 opened by lizhuo111 - 0
向 namespace std 添加内容是ub
#24 opened by SteveWilson6 - 3
自动增长锁,必须有AUTO_GROW宏才会定义,但是在ifndef的判断后使用了它
#21 opened by JiadiLee - 0
显示 未定义标识符 "_lockGrow"
#26 opened by fly2sky2018 - 3
大佬,能否支持一下空闲线程自动释放?
#10 opened by ChunelFeng - 1
请问怎么循环实现,执行线程池中的几个线程
#13 opened by whan1367510 - 1
这个库有严重的问题,线程是顺序执行,并没有并发
#5 opened by znsoftm - 1
- 1
C++ multi-thread call python
#4 opened by jiangkunkun1993 - 1
‘bind’ was not declared in this scope
#19 opened by ductina - 1
子线程返回方式矛盾
#17 opened by williamWANG0325 - 2
在只剩下一个空闲线程时,多个任务同时commit, 会发生什么?
#16 opened by liuyong2000 - 0
- 0
addThread 工作线程函数97行99行
#12 opened by ZhuZouRong - 1
Automatically reduce the number of threads
#2 opened by fowuyu - 4
为何仅支持静态的成员函数,普通的成员函数为何不支持呢?
#3 opened by windflowerly - 1