摘要:互斥锁(mutexlock):最常使用于线程同步的锁;标记用来保证在任一时刻,只能有一个线程访问该对象,同一线程多次加锁操作会造成死锁;临界区和互斥量都可用来实现此锁,通常情况下锁操作失败会将该线程睡眠等待锁释放时被唤醒。 在多任务操作系统中,同时运行的多个任务可能都需要使用同一种资源。互斥锁是一种
阅读全文
摘要:HFS server : https://pgl823.com/hfs/ 详细好文 UDP windows 使用 winsend 1.2 linux 使用 M3U8 主要是来自 https://www.cnblogs.com/xuey/p/9244434.html https://www.cnblo
阅读全文
摘要:+import android.content.ComponentName;^M /* @@ -343,6 +346,15 @@ public class MainActivity extends Activity implements SurfaceHolder.Callback { //base
阅读全文
摘要:1.安装ubuntu 14.04.05 LTS 64bit 2.初始化root 密码 sudo passwd Password: < 输入安装时那个用户的密码 Enter new UNIX password: < 新的Root用户密码 Retype new UNIX password: < 重复新的
阅读全文
摘要:1. 129x 系列之后的就推荐用ubuntu 16.04了 省去一些GCC ,tar,quilt 等问题 Android 平台: sudo apt-get install u-boot-tools libssl-dev gawk git-core gnupg flex bison gperf bu
阅读全文
摘要:1.修改IP: for example : Gerrit/etc/gerrit.config /etc/hosts:3:172.16.2.108 rtdhcgit /etc/httpd/conf/httpd.conf:276:ServerName 172.16.2.108 /etc/httpd/co
阅读全文
摘要:http://rpc.cnblogs.com/metaweblog/yamazaki
阅读全文
摘要:gitwork 1.先push 到网页: Android :git push --no-thin aosp HEAD:refs/for/master WRT : git push aosp HEAD:refs/for/OpenWRT_master_A01 kernal : git push aosp
阅读全文