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... # 线程状态转换 +