●boost锁的概述boost库中提供了mutex类与lock类,通过组合可以轻易的构建读写锁与互斥锁。▲mutex对象类mutex类主要有两种:boost::mutex,boost::shared_mutex,其中mutex有lock和unlock方法,shared_mutex除了提供lock和u...
分类:
其他好文 时间:
2014-06-15 23:47:04
阅读次数:
312
While reading /XXX/XXX/XXX/img1.png pngcrush caught libpng error: Not a PNG filCould not find file: /Users/XXX/Library/Developer/Xcode/DerivedData/C.....
分类:
其他好文 时间:
2014-06-15 22:56:42
阅读次数:
351
swift开发:试玩 Apple 网站的 playground https://developer.apple.com/library/prerelease/ios/documentation/swift/conceptual/swift_programming_language/GuidedTour.html...
分类:
移动开发 时间:
2014-06-15 08:00:09
阅读次数:
283
参考http://www.cnblogs.com/sunada2005/p/3536891.html然后它的这一步修改一下打开eclipse->windows->preferences->java->build path->user libraries,点击new,新建一个library,可取名为h...
分类:
系统相关 时间:
2014-06-15 00:57:07
阅读次数:
295
deborphan可以用来找出在系统中已经没有被依赖的套件。一般的情况是library会在其他套件需要的时候被牵引进来,但是当这些套件升级或删除后,被牵引进来的librarypackage都不会同时被删除。因此,久而久之,系统里就存在了很多的所谓orphanedpackages,就是说这些libra...
分类:
其他好文 时间:
2014-06-14 16:04:25
阅读次数:
404
1. Fragment基本用法
为了管理Activity中的fragments,需要调用Activity中的getFragmentManager()方法。因为FragmentManager的API是在Android 3.0,也即API level 11开始引入的,所以对于之前的版本,需要使用support library v4中的FragmentActivity,并且使用getSupportFr...
分类:
其他好文 时间:
2014-06-14 13:38:42
阅读次数:
188
1.首先需要安装必须的库,PCRE,zlib
sudo apt-get install libpcre3 libpcre3-dev
如果找不到文件的话就下载源文件进行安装。
2.解压下载的nginx源码,进入目录: sudo ./configure 得到的输出如下:
Configuration summary
+ using system PCRE library
+ ...
分类:
其他好文 时间:
2014-06-14 13:31:29
阅读次数:
219
Access restriction: The type CachedRowSetImpl is not accessible due to restriction on required library E:\MyEclipse10\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\lib\rt.jar...
分类:
其他好文 时间:
2014-06-14 11:31:26
阅读次数:
195
编译参数:
./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache2/bin/apxs --enable-shared --with-libxml-dir --with-gd --with-openssl --enable-mbstring --wit...
分类:
Web程序 时间:
2014-06-14 09:13:09
阅读次数:
245
翻译注:共享内存是程序之间进行数据交互的最基本的方式,而由于windows和kithara rts本身为两个独立的系统,为了能够使两个不同系统之上的程序进行通信,那么就必须开辟一块内存区域用于数据共享。本文是对kithara rts官方原文进行的翻译,加入了本人的一些使用经验。Shared Memo...
分类:
其他好文 时间:
2014-06-14 09:01:50
阅读次数:
360