
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 · 3818 阅读 · 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 · 912 阅读 · 0 评论