We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rt
The text was updated successfully, but these errors were encountered:
已支持 commit 2e0c5e8
Sorry, something went wrong.
很开心看到您的回复。 我前段时间,也实现了一个可以自动缩扩容的C++的线程池,跟大佬分享。 主要思路,是记录分主辅线程,并且在设定 ttl 内空闲,则释放辅助线程。
也请大佬帮忙review一下: https://github.com/ChunelFeng/CGraph/blob/main/tutorial/TU01-ThreadPool.cpp
我觉得, 初始1~2个线程,开启自动增长, 空闲自动释放应该也不错吧, 省一个监控线程
No branches or pull requests
rt
The text was updated successfully, but these errors were encountered: