Skip to content

Commit

Permalink
Merge pull request crossoverJie#14 from crossoverJie/dev
Browse files Browse the repository at this point in the history
✏️ Fixing typos.
  • Loading branch information
crossoverJie authored Mar 16, 2018
2 parents c53a279 + 07a0692 commit 964e940
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion MD/concurrent/thread-communication.md
Original file line number Diff line number Diff line change
Expand Up @@ -505,4 +505,7 @@ thread A退出。。

Java 虽说是基于内存通信的,但也可以使用管道通信。

需要注意的是,输入流和输出流需要首先建立连接。这样线程 B 就可以收到线程 A 发出的消息了。
需要注意的是,输入流和输出流需要首先建立连接。这样线程 B 就可以收到线程 A 发出的消息了。


实际开发中可以灵活根据需求选择最适合的线程通信方式。

0 comments on commit 964e940

Please sign in to comment.