SRWLock的目的和关键段相同:对一个资源进行保护,不让其它线程访问它。但是,与关键段不同的是,SRWLock允许我们区分哪些想要读取资源的值
的线程(读取者线程)和想要更新资源的值的线程(写入者线程)。让所有的读取者线程在同一时刻访问共享资源应该是可行的,这是因为仅仅读取资源的值并不存 在破坏数...
分类:
其他好文 时间:
2014-05-17 00:43:24
阅读次数:
248
I am using the Spring
SimpleFormControllerexampleto illustrate the build process. The figure below
shows the structure of the web application.All the ...
分类:
其他好文 时间:
2014-05-16 22:32:09
阅读次数:
402
转:http://esoftmobile.com/2014/01/14/build-ios6-ios7-apps/前言前段时间,苹果在它的开发者网站上放出了iOS系统安装比例,其中iOS7占到78%,iOS6占18%,剩余4%是iOS6以下版本。我们也借此机会将手上正在进行的两个项目都升级到支持iO...
分类:
移动开发 时间:
2014-05-16 08:08:34
阅读次数:
439
f(Build.VERSION.SDK_INT >10) builder
=newAlertDialog.Builder(getActivity(), R.style.Theme.Sherlock.Dialog);else
builder =newAlertDialog.Builder(...
分类:
移动开发 时间:
2014-05-16 07:49:31
阅读次数:
606
转自:http://blog.csdn.net/callchunli/article/details/8929813(2013/9/2)build.xml:939:
java.lang.ArrayIndexOutofBoundsExcption:1at com.android.ant.Depende...
分类:
移动开发 时间:
2014-05-16 05:10:27
阅读次数:
1029
在静态库建立好了之后呢,于是应用程序就引用它,加上拷贝的h文件,但是引用之后Build之后提示很多sybmbol
重复于是进行检查,确实由于是从其他工程修改过来的,很多基础库都引用了,删除之,最后就只剩下xxx.h,死活就是报重复符号,我看来看去都没有不得其解,后面突然想不过,使用了下definit...
分类:
移动开发 时间:
2014-05-14 02:12:05
阅读次数:
334
1.安装jansson ./configure Make Make install2.生成帮助文档
Cd doc Make html编译安装doc时提示 spinx-build not a command执行下面语句安装sphinx easy_install
-U Sphinx生成_build文件夹...
分类:
系统相关 时间:
2014-05-14 00:08:12
阅读次数:
1794
首先准备好软件: 1. Apache,到这里找个最新版本 2. PHP,到这里下载 3.
Eclipse IDE for Java EE Developers,到这里下载 4. DLTK Core Frameworks 1.0 Integration
build,到这里下载 注意:DLTK是所谓动态...
分类:
Web程序 时间:
2014-05-12 01:54:06
阅读次数:
510
1.到项目文件的proj.android目录下,编辑build_native.sh文件,指定NDK和cocos2dx路径
export NDK_ROOT=/home/liyuchen/dev/android-ndk-r9d
export NDK_MODULE_PATH=/home/liyuchen/dev/cocos2d-x-2.2.1/cocos2dx
2.执行脚本
./b...
分类:
移动开发 时间:
2014-05-11 20:09:19
阅读次数:
399