摘要:        
http://blog.csdn.net/luo6620378xu/article/details/8521940 近日需要将线程池封装成C++类,类名为Threadpool。在类的成员函数exec_task中调用pthread_create去启动线程执行例程thread_rounter。编译之后报    阅读全文
posted @ 2016-04-13 23:16
jimshi
阅读(7917)
评论(0)
推荐(1)
        
            
        
        
摘要:        
http://bbs.csdn.net/topics/390800051 代码如下,abstract.h文件 C/C++ code ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 template<typename T> class abstract { publi    阅读全文
posted @ 2016-04-13 17:49
jimshi
阅读(1351)
评论(0)
推荐(0)
        
            
        
        
摘要:        
http://blog.csdn.net/xiajun07061225/article/details/9250579 什么是epoll epoll是什么?按照man手册的说法:是为处理大批量句柄而作了改进的poll。当然,这不是2.6内核才有的,它是在2.5.44内核中被引进的(epoll(4)     阅读全文
posted @ 2016-04-13 14:46
jimshi
阅读(645)
评论(0)
推荐(0)
        
 
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号