//从别处拷贝过来的,只作为自己查看方便,原作者不详,请谅解。一:关于joinjoinjoin是三种同步线程的方式之一。另外两种分别是互斥锁(mutex)和条件变量(condition
variable)。调用pthread_join()将阻塞自己,一直到要等待加入的线程运行结束。可以用pthrea...
分类:
其他好文 时间:
2014-05-28 02:13:20
阅读次数:
351
@implementation@synthesis age; // 就等于@synthesis age
= age 得到同名的instance variable age 和-setAge, -age
这两个accessor.@end如果@implementation// no @synthesi.....
分类:
其他好文 时间:
2014-05-26 22:22:32
阅读次数:
237
在win7上明明已经安装了JDK1.6并设置好了JAVA_HOME,可偏偏Tomcat在启动过程中找不到。报错信息如下:Neither the
JAVA_HOME nor the JRE_HOME environment variable is defined At least one of
the...
分类:
其他好文 时间:
2014-05-26 13:14:11
阅读次数:
355
setenv(set environment variable)功能说明:查询或显示环境变量。语
法:setenv[变量名称][变量值]补充说明:setenv为tsch中查询或设置环境变量的指令。对于bash shell关 于环境变量命令介绍:1.echo
显示某个环境变量值 echo $PATH....
分类:
系统相关 时间:
2014-05-25 19:42:11
阅读次数:
299
-----006-variable.php ----- 1 2 3 4 5 一个PHP网页 6 7 8
\n";15 }16 static_test();17 static_test();18 static_test();19 st...
分类:
Web程序 时间:
2014-05-25 19:37:54
阅读次数:
257
//冒泡排序法$arr =
array(3,55,45,2,67,76,6.7,-65,85,4);function bubblingSort($arr){ for ( $i=0;
$i=$arr[$j+1] ){ $transit_variable = $arr...
分类:
Web程序 时间:
2014-05-25 19:34:14
阅读次数:
228
//插入排序法$arr =
array(3,55,45,2,67,76,6.7,-65,85,4);function insertSort($arr){ for ( $i=0;
$i=$arr[$j] ){ $transit_variable = $arr[$j]...
分类:
Web程序 时间:
2014-05-25 19:08:09
阅读次数:
271
文档
Eclipse --> Windows--> Preferences ...
3. Set up Variables:
1. Path Variable `COCOS2DX`:
* Eclipse->Preferences->General->Workspace->**Linked Resources**
* Click **New** button to add a Path...
分类:
移动开发 时间:
2014-05-24 17:54:57
阅读次数:
282
In bash shell, when you use a dollar sign
followed by a variable name, shell expands the variable with its value. This
feature of shell is called para...
分类:
其他好文 时间:
2014-05-21 18:32:32
阅读次数:
332
InstallingwithCitrixXenServerNote:ToinstalltheAdaptecRAIDcontrollerdriverwithCitrixXenServer,youmustburntheXenServerdriverisop_w_picpathtoawriteableCD.YouwillbepromptedtoinserttheXenServerdriverCDtwice.YouneedtheXenServerinstallationCDtocompletethistask.You..
分类:
其他好文 时间:
2014-05-21 13:19:58
阅读次数:
454