![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
设计模式
nwpu053883
这个作者很懒,什么都没留下…
展开
-
zero copy技术
继续挖坑... https://www.jianshu.com/p/8c6b056f73ce https://leokongwq.github.io/2017/01/12/linux-zero-copy.html https://www.cnblogs.com/victor2302/p/11381597.html https://juejin.im/post/5d84bd1f6fb9a06...原创 2019-12-04 10:27:29 · 83 阅读 · 0 评论 -
Linux内核中的面向对象设计
lwn.net网站有两篇文章, 学习一下... https://lwn.net/Articles/444910/ https://lwn.net/Articles/446317/ Object-oriented design patterns in the kernel, part 1 面向对象相关知识有 objects(对象), classes(类), method(方法), inher...原创 2019-12-03 15:49:47 · 530 阅读 · 0 评论 -
Linux 内核面向对象思想及实现
面向对象, 并不一定需要C++, JAVA语言才能实现。 C语言也能实现, 比如Linux内核。 C语言实现面向对象的思想, 1. 封装, 将数据和方法都封装在数据结构中, 其中方法可以使用函数指针来实现。 2. 继承, 3. 多态, 即具体的函数调非编译器决定, 而是程序运行期间决定, 即所谓的晚绑定(Late Binding)。 即封装中的函数指针, 可根据具体...原创 2019-12-03 11:51:14 · 2171 阅读 · 1 评论 -
分布式模式之Broker模式
https://www.cnblogs.com/kisf/p/6365671.html https://www.bbsmax.com/A/RnJWO9NRJq/ https://whatis.techtarget.com/definition/broker broker: 经纪人, 掮客, 拉皮条的, 中间商... 摘录下whatis的描述... A broker is s...原创 2019-11-30 17:49:08 · 106 阅读 · 0 评论