在实际产品运行中,对连接管理有了更新的认识,这里分享一下。shared_ptr管理连接对象的生命周期shared_ptr的引用计数器决定了连接对象的生命周期。这里我说的连接对象就是在我的前文:http://blog.csdn.net/csfreebird/article/details/852262...
分类:
其他好文 时间:
2014-06-23 08:26:05
阅读次数:
348
apt-get install lib32z1 如果libz.so.1: cannot open shared object file: No such file or directory在/etc/ld.so.conf中加入/usr/lib 增加类库所有路径 /sbin/ldconfig –v」来...
分类:
其他好文 时间:
2014-06-23 07:44:47
阅读次数:
306
1.preferences>general>workspace>gbk改为utg-82.preferences>general>editors>file association >html/htm>设定默认打开工具3.preferences>general>apperance>颜色和字体(color...
分类:
系统相关 时间:
2014-06-23 07:35:02
阅读次数:
304
chapter5里重要的例子是dot,来解释一个block内多个thread的共享内存和同步。__shared__共享内存:“对于在GPU上启动的每个线程块,cuda c编译器都将创建该变量的一个副本。线程块中的每个线程都共享这块内存,并和其他线程块无关,这使一个线程块中多个线程能够在计算上进行通信...
分类:
其他好文 时间:
2014-06-23 00:32:59
阅读次数:
289
修改MyEclipse编辑框背景色
1、未修改之前,编辑框背景色
2、依次操作,“Window--->Preferences”
3、选择“General--->Editors--->Text Editors”,找到右侧的“Background color”,
取消“System Default”,单击“Color”,选中喜欢的颜色...
分类:
系统相关 时间:
2014-06-22 21:37:45
阅读次数:
302
主要是在研究访问共享内存会产生bank conflict时,自己产生的疑惑。对于这...
分类:
其他好文 时间:
2014-06-22 00:39:19
阅读次数:
477
$ sudo mount.cifs //windows-ip/shared /media/ -o user=username password=password
该命令挂载Windows下的shared共享目录到本地/media目录下.
Windows的用户名是username, 密码是password (作相应的修改)
这里的CIFS(Common Internet File Syste...
MyEclipse完善提示配置
一般的,MyEclipse中的提示以“.”后进行提示,不是很完善。现在,修改提示配置,让提示更完善!
具体操作如下:
1、打开MyEclipse,单击“Window---Preferences”
2、依次点击“Java--->Editor--->Content Assist”
3、找到“A...
分类:
系统相关 时间:
2014-06-21 22:58:40
阅读次数:
303
修改MyEclipse行数的颜色
1、未修改前,行数的颜色
2、依次选择“Window--->Preferences”
3、选择“General--->Editors--->Text Editors--->Line number foreground”
4、单击“Color”弹出框,选择“基本颜色”,然后单击“确定”
...
分类:
系统相关 时间:
2014-06-21 22:57:24
阅读次数:
361
微软近期Open的职位:Title: Principal Dev ManagerLocation: BeijingThe R&D of Shared Data Platform at Search Technology Center Asia aims to build a unified data...
分类:
其他好文 时间:
2014-06-21 16:13:42
阅读次数:
241