这个错误从字面上来看就是有一个实例由于被observing而无法被释放。具体原因可能是该对象添加了一个oberver。所以释放的时候要先取消observer。具体方法是在 dealloc 方法中:- (void)dealloc { [object removeObserver:self for...
分类:
移动开发 时间:
2015-08-01 06:25:04
阅读次数:
128
RedHat Enterprise Linux 6.4使用Centos 6的yum源问题作为一名新手,学习Linux已经一个月了,其间遇到了不少问题,而今天笔者遇到的问题是#yum install pam-devel#This system is not registered to Red Hat ...
分类:
系统相关 时间:
2015-07-31 01:21:41
阅读次数:
261
RedHat Enterprise Linux 6.4使用Centos 6的yum源问题
分类:
其他好文 时间:
2015-07-31 01:08:10
阅读次数:
783
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register
分类:
其他好文 时间:
2015-07-27 18:20:14
阅读次数:
441
学习java的死锁写的代码
也是看书上的然后自己敲了一个
package synchronization.java.test;
/**
* 关于java中线程死锁例子
* 在学习操作系统的时候有线程死锁但是也只是理解也没有亲自动手敲过
* 现在学java既然学到这里了就敲了一个简单的以进餐为例的代码
* @author hello
* @version 8
*/
public cl...
分类:
编程语言 时间:
2015-07-26 19:19:06
阅读次数:
164
1. 启动下面信息之后系统就挂掉了,没有继续输出信息Switching to clocksource tcb_clksrcNET: Registered protocol family 2IP route cache hash table entries: 1024 (order: 0, 4096 ...
分类:
其他好文 时间:
2015-07-24 15:38:24
阅读次数:
153
题目如下:
Zhejiang University has 40000 students and provides 2500 courses. Now given the registered course list of each student, you are supposed to output the student name lists of all the course...
分类:
其他好文 时间:
2015-07-18 12:40:02
阅读次数:
148
This letter serves as notice of termination of the Apple Developer Program License Agreement (the “ADP Agreement”) and the Registered Apple Developer ...
分类:
其他好文 时间:
2015-07-14 15:16:02
阅读次数:
351
Condition Variables
Condition variables are synchronization primitives that enable threads to wait until a particular condition occurs.
Condition variables are user-mode objects that cannot be share...
分类:
其他好文 时间:
2015-07-09 16:22:39
阅读次数:
267
[root@i158 ~]# ntpdate -u time.uuwatch.com 9 Jul 11:18:50 ntpdate[853]: no server suitable for synchronization found[root@i158 ~]# ntpdate -d time.uuw...
分类:
其他好文 时间:
2015-07-09 12:39:30
阅读次数:
143