自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

九遍斋的专栏

行成于思

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

转载 C++虚析构函数

通常,一个实现了析构函数的类型同时也需要实现拷贝构造函数与拷贝复制函数。 作为一个经验法则,如果你有一个带有虚函数功能的类,则它需要一个虚析构函数,原因如下:   1. 如果一个类有虚函数功能,它经常作为一个基类使用。 2.如果它是一个基类,它的派生类经常使用new来分配。 3.如果一个派生类对象使用new来分配,并且通过一个指向它的基类的指针来控制,那么它经常通过一个指向它的基类的指针

2014-01-03 17:53:03 704

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关注的人

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