Skip to content

Commit 76af4cc

Browse files
committed
update
1 parent 56c8209 commit 76af4cc

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
layout: post
3+
category : android开发
4+
tagline: "工作记录"
5+
tags : [工作,android,记录]
6+
---
7+
{% include JB/setup %}
8+
9+
<h4>{{page.title}}</h4>
10+
11+
---
12+
13+
2015.10.16
14+
15+
进程之间谈通信,线程之间才谈同步。
16+
17+
所以进程间通信大多不需要锁,需要的锁也是文件锁之类的“大锁”,并不需要条件变量、互斥锁这些机制来同步,进城之间对资源的使用由操作系统的进程调度部分来完成。线程需要互斥锁的原因是,除了线程栈里的东西其他都是共享的,需要你自己来完成变量级别的同步。

0 commit comments

Comments
 (0)