码迷,mamicode.com
首页 >  
搜索关键字:https    ( 132426个结果
Chapter 1-01
Please indicate the source: http://blog.csdn.net/gaoxiangnumber1 Welcome to my github: https://github.com/gaoxiangnumber1 ?读者应具有C++多线程编程经验,熟悉互斥器、竞态条件等概念,了解智能指针,知道Observer设计模式。 1.1 当析构函数遇到多线程 ?C++要求...
分类:其他好文   时间:2016-04-30 06:40:51    阅读次数:365
Chapter 4-01
Please indicate the source: http://blog.csdn.net/gaoxiangnumber1 Welcome to my github: https://github.com/gaoxiangnumber1 第4章C++多线程系统编程精要 ?学习多线程编程面临的思维方式的转变有两点: 1.当前线程可能随时会被切换出去,或者说被抢占(preempt)了。...
分类:其他好文   时间:2016-04-30 06:40:49    阅读次数:226
Chapter 10-01
Please indicate the source: http://blog.csdn.net/gaoxiangnumber1 Welcome to my github: https://github.com/gaoxiangnumber1 ?C++语言的三大约束是:与C兼容、零开销(zero overhead)原则、值语义。§11.7介绍值语义。 ?“与C兼容”不仅仅是兼容C的语法,更重要...
分类:其他好文   时间:2016-04-30 06:39:27    阅读次数:173
Chapter 4-02
Please indicate the source: http://blog.csdn.net/gaoxiangnumber1 Welcome to my github: https://github.com/gaoxiangnumber1 4.6 多线程与IO ?本书只讨论同步IO,包括阻塞与非阻塞,不讨论异步IO(AIO)。在进行多线程网络编程的时候,几个问题是:如何处理IO?能否多个线...
分类:其他好文   时间:2016-04-30 06:39:22    阅读次数:238
Chapter 3-01
Please indicate the source: http://blog.csdn.net/gaoxiangnumber1 Welcome to my github: https://github.com/gaoxiangnumber1 第3章多线程服务器的适用场合与常用编程模型 ?“两个进程不在同一台机器上”指的是逻辑上不在同一个操作系统里运行,虽然物理上可能位于同一机器虚拟出来的两台...
分类:其他好文   时间:2016-04-30 06:38:41    阅读次数:256
Chapter 1-02
Please indicate the source: http://blog.csdn.net/gaoxiangnumber1 Welcome to my github: https://github.com/gaoxiangnumber1 1.8 应用到 Observer 上 ?既然通过 weak_ptr 能探查对象的生死,那么 Observer 模式的竞态条件就很容易解决,只要让Obse...
分类:其他好文   时间:2016-04-30 06:38:37    阅读次数:347
炫酷的底部菜单栏BottomBar
开源项目分析BottomBar 今天分析一个炫酷的底部菜单栏开源项目,先说明下用法,再分析一下源码的实现。 GitHub地址 https://github.com/roughike/BottomBar 先上个效果图 使用添加依赖compile 'com.roughike:bottom-bar:1.3.3'创建menu资源文件res/menu/bottombar_menu.xml:<men...
分类:其他好文   时间:2016-04-30 06:38:34    阅读次数:961
Chapter 6-03
Please indicate the source: http://blog.csdn.net/gaoxiangnumber1 Welcome to my github: https://github.com/gaoxiangnumber1 6.6 详解muduo多线程模型 ?本节以Sudoku Solver为例,回顾了并发网络服务程序的多种设计方案,并介绍了使用muduo网络库编写多线程服...
分类:其他好文   时间:2016-04-30 06:38:32    阅读次数:171
Chapter 2-01
Please indicate the source: http://blog.csdn.net/gaoxiangnumber1 Welcome to my github: https://github.com/gaoxiangnumber1 第2章 线程同步精要 ?并发编程有两种基本模型,一种是message passing,另一种是shared memory。在分布式系统中,运行在多台机器...
分类:其他好文   时间:2016-04-30 06:37:49    阅读次数:233
Chapter 10-02
Please indicate the source: http://blog.csdn.net/gaoxiangnumber1 Welcome to my github: https://github.com/gaoxiangnumber1 10.4 工程项目中头文件的使用规则 10.4.1 头文件的害处 ?我认为头文件的害处主要体现在以下几方面: 1.传递性。 头文件可以再包含其他头...
分类:其他好文   时间:2016-04-30 06:36:56    阅读次数:163
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!