01 2013 档案

摘要:贴下来学习,转自http://www.cnblogs.com/zhiranok/archive/2012/05/13/cpp_multi_thread.html#ifndef _TASK_QUEUE_IMPL_H_#define _TASK_QUEUE_IMPL_H_#include<pthread.h>#include <list>#include <stdexcept>using namespace std;#include "task_queue_i.h"#include "lock.h"namespace ff 阅读全文
posted @ 2013-01-28 07:34 hailong 阅读(377) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。
posted @ 2013-01-21 21:02 hailong 阅读(3) 评论(0) 推荐(0) 编辑
摘要:From:真 OO无双http://www.cnblogs.com/oomusou/archive/2007/05/02/734290.htmlAbstractFunction Pointer(C)、Delegate(C#)和Function Object(C++)這三個其實是一樣的功能,所以在此一併討論。Introductionfunction pointer是C語言中最高級的機制,大概很多人還沒上到這裡已經學期末了,所以不少C語言工程師根本不知道C語言有function pointer;而C#的delegate大抵跟C語言的function pointer功能相同,所以很多書說delega 阅读全文
posted @ 2013-01-12 21:52 hailong 阅读(399) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示