自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

九遍斋的专栏

行成于思

  • 博客(2)
  • 资源 (9)
  • 收藏
  • 关注

原创 使用muduo编译链接错误 undefined reference to `muduo::ThreadPool::run(boost::function<void ()()>&&)'

用nm查看引用的libmuduo_base.a里面,发现确实没有这个函数,连ThreadPool类都没有编译进来。不过在libmuduo_base_cpp11.a里面,nm查看是有这个ThreadPool的。将Makefile的链接库改为-lmuduo_base_cpp11,编译通过。遇到问题要冷静思考,运用合适的工具去分析解决。

2016-08-11 10:49:06 2906

原创 C++11 牛逼新特性——Alias declaration template

C++11的一个牛逼特性,记住备忘:templatetypename T>struct A {};templatetypename T>using APtr = boost::shared_ptrAT>>; // int main() { APtr foo;}

2016-08-10 07:56:39 2331

Linux USB drivers

Linux USB驱动开发技术,国外的资料,比较新,很实用。

2013-03-24

Using the POSIX API - Threads, real-time and IPC

In Linux, when a new process is created, it already contains a thread, used to execute the main() function Additional threads can be created using the pthread library, which is part of the C library Of course all threads inside a given process will share the same address space, the same set of open files, etc. The pthread library also provide thread synchronization primitives: mutexes and conditions This pthread library has its own header : pthread.h Applications using pthread function calls should be explicitly linked with the pthread library gcc ­o app app.c ­lpthread

2013-03-24

The GRUB Bootloader

全面讲述Grub引导Linux原理,国外的资料,值得一读。

2013-03-24

New features in Linux-2.6

虽然Linux早已到了3.8时代,但是2.6内核非常经典,在嵌入式行业依然被广泛应用。这部slides专为嵌入式开发人员而写。

2013-03-24

Embedded Linux System Development

嵌入式Linux经典培训教材,国外的资料,非常受用。

2013-03-24

Embedded Linux Driver Development

嵌入式Linux驱动开发,英文版,极好的slides。例子精简,条理分明,对于Linux驱动开发者十分受用。 Headers specific to the Linux kernel: <linux/xxx.h> No access to the usual C library, we're doing kernel programming An initialization function Called when the module is loaded, returns an error code (0 on success, negative value on failure) Declared by the module_init() macro: the name of the function doesn't matter, even though modulename_init() is a convention. A cleanup function Called when the module is unloaded Declared by the module_exit() macro. Metadata informations declared using MODULE_LICENSE(), MODULE_DESCRIPTION() and MODULE_AUTHOR()

2013-03-23

《架构之美》

架构师必备!比如facebook的架构设计

2012-02-20

Linux内核源代码情景分析

极力推荐的一本书,1500页的深入源码分析!

2012-02-20

《游戏编程指南》---包含各种游戏编程技术,快来下载吧

《游戏编程指南》 导 读 在开始阅读全文之前,希望你能抽出一些时间阅读这里的内容… 一、你想编一个怎样的游戏? (1)星际争霸,帝国时代,英雄无敌,大富翁4,轩辕剑3,传奇,石器时代… 这些都是正宗的2D游戏,其标志是:视角完全固定或只有四个观察方向。这些游戏中特效不多,即使有也不需要使用汇编进行加速。 推荐阅读:第1、2、3、4、5章及第12章的相关部分。 可选阅读:第7、8章。如果需要网络功能,需阅读第11章。 (2)暗黑2,秦殇… 这是一类比较特殊的2D游戏,其特点在于各种特效(半透明,光影效果等)的大规模使用。有的此类游戏还可以使用3D加速卡来加速2D特效。 推荐阅读:第1、2、3、4、5、6章及第12章的相关部分。 可选阅读:第7、8、9、10章。如果需要网络功能,需阅读第11章。 由于现在的显卡几乎都能很好地支持3D加速功能,所以如果你打算放弃对没有3D加速卡的计算机的支持,可不阅读第4、5、6章,而推荐阅读第9章和第10章的第1、2节。 (3)反恐精英,雷神,魔兽争霸3,地牢围攻,FIFA,极品飞车,MU… 这些都是纯3D游戏,也代表了目前游戏的发展趋势。 推荐阅读:第1、2、3、7、9、10章及第12章的相关部分。 可选阅读:第8章。如果需要网络功能,需阅读第11章。

2011-05-17

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除