随笔分类 -  网络与多线程

摘要:进程概念: 每一个进程中的线程共享内存中内存的资源多线程概念: 每程序启动时创建主线程(调用main来启动)/*********线程的创建与启动********/1.第一种开启新的线程调用mutableThreadNSThread *t = [[NSThread alloc] initWithTarget:self selector:@selector(mutableThread) object:nil];[t start]; // 需要手动开... 阅读全文
posted @ 2013-11-01 10:08 needly 阅读(374) 评论(0) 推荐(0)