From 02302a3d5ea3987286139ef2d0611be01b3f9957 Mon Sep 17 00:00:00 2001 From: CyC2018 <1029579233@qq.com> Date: Sat, 10 Mar 2018 17:27:53 +0800 Subject: [PATCH] auto commit --- notes/Java 并发.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/notes/Java 并发.md b/notes/Java 并发.md index c1f780f6..2ef8d6a2 100644 --- a/notes/Java 并发.md +++ b/notes/Java 并发.md @@ -47,9 +47,9 @@ ## 1. 实现 Runnable 接口 -需要实现 run() 方法 +需要实现 run() 方法。 -通过 Thread 调用 start() 方法来启动线程 +通过 Thread 调用 start() 方法来启动线程。 ```java public class MyRunnable implements Runnable { @@ -343,6 +343,8 @@ Producer4 is consuming product made by Consumer4... # 线程状态转换 +