XCode4.0以后,编译器是LLVM,控制台调试命令前缀是lldb第一、LLVM简介LLVM是构架编译器(compiler)的框架系统,以C++编写而成,用于优化以任意程序语言编写的程序的编译时间(compile-time)、链接时间(link-time)、运行时间(run-time)以及空闲时间...
分类:
移动开发 时间:
2014-06-24 23:52:35
阅读次数:
475
1. 在Main中先是加载模块,启动REST服务,而后构建一个实现了IFloodlightProviderService接口的实例(即Controller)并运行;
2. 接下来进入Controller的run()方法,此时所有的环境初始化工作已经完成,构建一个基于netty的TCP server,最重要的是流水线factory OpenflowPipelineFactory 的设置,里面是co...
分类:
其他好文 时间:
2014-06-24 22:47:40
阅读次数:
277
解决方法如下 On the Windows 7 machine:Run secpol.mscDrill down through Local Policies | Security Options.Find Network Security: LAN Manager authentication l...
在zed的PS端运行spark: (1)设置uboot为sd卡启动rootfs: "sdboot=if mmcinfo; then " \ "run uenvboot; " \ "echo Copying Linux from SD to RAM... && " \ ...
分类:
其他好文 时间:
2014-06-24 14:27:44
阅读次数:
497
1.创建和启动线程 一个NSThread对象就代表一条线程; 创建,启动线程NSThread *thread = [[NSThread alloc] initWithTarget:self selector:@selector(run) object:nil];[thread start];2.线程...
分类:
其他好文 时间:
2014-06-24 13:33:55
阅读次数:
167
iOS开发多线程篇—创建线程一、创建和启动线程简单说明一个NSThread对象就代表一条线程创建、启动线程(1) NSThread*thread = [[NSThreadalloc]initWithTarget:selfselector:@selector(run)object:nil];[thre...
分类:
移动开发 时间:
2014-06-24 12:29:00
阅读次数:
351
1.线程的状态NSThread *thread = [[NSThread alloc] initWithTarget:self selector:@selector(run) object:nil];[thread start];2.控制线程状态2.1>启动线程 -(void)start; //进....
分类:
编程语言 时间:
2014-06-24 11:53:02
阅读次数:
233
1.NSThread创建方式(一个NSThread对象就代表一条线程)1.1>创建\启动线程(1)线程一启动,就会在thread中执行self的run方法NSTread *thread = [[NSThread alloc] initWithTarget:self selector:@selecto...
分类:
其他好文 时间:
2014-06-24 11:42:16
阅读次数:
224
本文是根据JAVA解惑这本书,做的笔记。
电子书见:http://download.csdn.net/detail/u010378705/7527721
谜题76
将线程的启动方法start(),写成了run();
PS:管程(monitor)锁有待进一步理解。
谜题77
线程中锁的问题。
理解不深刻。
谜题78
反射会造成访问...
分类:
编程语言 时间:
2014-06-22 08:45:22
阅读次数:
333
As we all know,a thread is a separate process on your computer.you can run multiple threads all at the same time.
multi-threaded code has the disadvantage of becoming quite complex very quickly,altho...
分类:
其他好文 时间:
2014-06-22 07:25:06
阅读次数:
244