- 博客(3)
- 收藏
- 关注
原创 Increase the android VM heap size.
<br /> <br /> <br />It is very easy , in init.rc<br />add line<br />setprop dalvik.vm.heapsize 48m
2011-04-26 15:26:00 1315
原创 file lock in the Linux system
<br /> <br />1. Use the flock in the shell script,<br /> <br />http://linux.die.net/man/1/flock<br /> <br />2. Use flock in code<br />http://linux.die.net/man/2/flock<br /> <br />My sample.<br /> <br /> int fd = open("/data/misc/wifi_lock", O_RDWR|O_CREAT,
2011-04-21 15:17:00 879
转载 Timestamping Linux kernel printk output in dmesg for fun and profit
<br />转自:<br />http://www.digitalprognosis.com/linuxtips/timestamping-linux-kernel-printk-output-in-dmesg-for-fun-and-profit/<br /> <br /> <br /> <br /><br />Timestamps are a wonderful thing. When you have systems with an uptime of hundreds of days or more
2011-04-06 09:42:00 2283
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人