摘要:
阻塞状态(Blocked) 线程运行过程中,可能由于各种原因进入阻塞状态: 1>线程通过调用sleep方法进入睡眠状态; 2>线程调用一个在I/O上被阻塞的操作,即该操作在输入输出操作完成之前不会返回到它的调用者; 3>线程试图得到一个锁,而该锁正被其他线程持有; 4>线程在等待某个触发条件; .. 阅读全文
posted @ 2018-01-23 18:30
zzfx
阅读(1310)
评论(0)
推荐(0)
摘要:
黑幕背后的Autorelease http://www.cnblogs.com/feng9exe/p/7239552.html objc_autoreleasePoolPush的返回值正是这个哨兵对象的地址,被objc_autoreleasePoolPop(哨兵对象)作为入参,于是: 假设这些都有线 阅读全文
posted @ 2018-01-23 17:47
zzfx
阅读(150)
评论(0)
推荐(0)
摘要:
Thread Control Block The following is the declaration of the Thread Control Block. unsigned int status This field holds the status information of the 阅读全文
posted @ 2018-01-23 17:02
zzfx
阅读(235)
评论(0)
推荐(0)