POSIX信号量相关函数:
sem_open
sem_close
sem_unlink
sem_init
sem_destroy
sem_wait
sem_post
POSIX互斥锁
pthread_mutex_init
pthreaad_mutex_lock
pthread_mutex_unlock
pthread_mutex_...
分类:
其他好文 时间:
2014-06-05 12:39:14
阅读次数:
412
- (void)loadAssets {
// Initialise
_assets = [NSMutableArray new];
_assetLibrary = [[ALAssetsLibrary alloc] init];
// Run in the background as it takes a while to get a...
分类:
其他好文 时间:
2014-06-05 12:06:55
阅读次数:
215
python解释器将__init__函数里的__z变量转成 _classname__z了,明白规则后外部依然可以通过实力对象来访问。
In [1]: class aa:
...: def __init__(self):
...: self.x = 10
...: self.y = 11
...: self.__z =...
分类:
编程语言 时间:
2014-06-05 10:25:10
阅读次数:
346
GG链路过多端口不足导致的报错OGG-01223...
分类:
其他好文 时间:
2014-06-05 10:20:37
阅读次数:
391
系统centOS-6.3
方法操作很简单,如下:
# /etc/init.d/mysql stop
# mysqld_safe --user=mysql --skip-grant-tables --skip-networking &
# mysql -u root mysql
# mysql>use mysql ;
mysql> UPDATE user SET Password=PAS...
分类:
数据库 时间:
2014-06-05 02:54:40
阅读次数:
331
最近在给android 4.3系统进行root时候,一直出现如下的红色权限问题 :
7.695741] Freeing init memory: 236K
[ 8.555286] init: cannot find '/system/bin/dbus-daemon', disabling 'dbus'
[
8.566954] init: cannot execve('/s...
分类:
其他好文 时间:
2014-06-05 01:02:36
阅读次数:
358
Accepted : 42
Submit : 122
Time Limit : 1000 MS
Memory Limit : 65536 KB
题目描述
五虎棋是流传在东北民间的一种游戏,GG小的时候,经常被表哥虐得很惨。
由于各个地区的规则可能不大相同,并且GG的回忆不一定很准,所以,如果规则和你平常玩的的有冲突,请以这里为...
分类:
其他好文 时间:
2014-06-04 22:28:28
阅读次数:
303
linux有自己一套完整的启动体系,抓住了linux启动的脉络,linux的启动过程将不再神秘。本文中假设inittab中设置的init
tree为:/etc/rc.d/rc0.d/etc/rc.d/rc1.d/etc/rc.d/rc2.d/etc/rc.d/rc3.d/etc/rc.d/rc4.d...
分类:
其他好文 时间:
2014-05-31 04:12:54
阅读次数:
335