![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
POCO源码解析
Fzuim
不忘初心,方得始终!
展开
-
【开源项目】POCO线程池分析
一、接口 ThreadPool(int minCapacity = 2, int maxCapacity = 16, int idleTime = 60, int stackSize = POCO_THREAD_STACK_SIZE); /// Creates a thread pool with minCapacity thre原创 2017-12-01 11:14:04 · 3633 阅读 · 0 评论 -
【开源项目】POCO线程类分析
最简单的Poco线程调用方式: Thread thread; MyRunnable r; thread.start(r); 关注的重点,就是MyRunnable:线程的运行体。 class MyRunnable: public Runnable { public: MyRunnable(): _ran(false) { } void run() {原创 2017-12-04 14:00:56 · 813 阅读 · 0 评论